aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test19
diff options
context:
space:
mode:
authorKarlson2k <k2k@narod.ru>2016-02-19 22:38:20 +0300
committerDaniel Stenberg <daniel@haxx.se>2016-04-20 09:22:48 +0200
commit72d5e144fbc6a9db264ae425bb788af218f25d9e (patch)
treefefce2fae7b555b33c32745bf2e83ed5e2823c3c /tests/data/test19
parentad3d40d40707f1c5f37f878a61de4a8f0aeac2b8 (diff)
sendf.c: added ability to call recv() before send() as workaround
WinSock destroys recv() buffer if send() is failed. As result - server response may be lost if server sent it while curl is still sending request. This behavior noticeable on HTTP server short replies if libcurl use several send() for request (usually for POST request). To workaround this problem, libcurl use recv() before every send() and keeps received data in intermediate buffer for further processing. Fixes: #657 Closes: #668
Diffstat (limited to 'tests/data/test19')
0 files changed, 0 insertions, 0 deletions