cpp-httplib/test
Daniel Ottiger 01058659ab
make write timeout configurable (like the read timeout already is) (#477)
In case we want to send a lot of data,
and the receiver is slower than the sender.

This will first fill up the receivers queues and after this
eventually also the senders queues,
until the socket is temporarily unable to accept more data to send.

select_write is done with an timeout of zero,
which makes the select call used always return immediately:
(see http://man7.org/linux/man-pages/man2/select.2.html)

This means that every marginal unavailability will make it return false
for is_writable and therefore httplib will immediately abort the transfer.

Therefore make this values configurable in the same way
as the read timeout already is.

Set the default write timeout to 5 seconds,
the same default value used for the read timeout.
2020-05-16 17:31:46 -04:00
..
gtest Fix #372 (#374) 2020-03-09 23:59:00 -04:00
proxy Improved Stream interface 2020-01-16 23:28:11 -05:00
www/dir Fix #335 2020-01-21 09:09:05 -05:00
www2/dir Fix #276 2019-11-29 17:07:51 -05:00
www3/dir Fix #276 2019-11-29 17:07:51 -05:00
ca-bundle.crt Wildcard support for verifying server certificate. fix #87 2019-05-07 21:40:03 -04:00
image.jpg Add a file for test 2017-12-29 22:34:59 -05:00
Makefile Fix #372 (#374) 2020-03-09 23:59:00 -04:00
test.cc make write timeout configurable (like the read timeout already is) (#477) 2020-05-16 17:31:46 -04:00
test.conf Fix small issues in tests and added some extra checks. 2018-07-31 22:08:38 +02:00
test.rootCA.conf setup test cases for client certificates 2019-06-07 01:23:22 +08:00
test.sln static file support. vc12 support. 2013-07-04 18:18:52 -04:00
test.vcxproj Fixed #456 2020-04-30 19:40:23 -04:00
test_proxy.cc Added more tests 2020-01-03 07:57:40 -05:00