mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:43:33 +03:00
Fixes to bring back the the "Expect: 100-continue" functionality. If the
header is used, we must wait for a 100-code (or timeout), before we send the data. The timeout is merely 1000 ms at this point. We may have reason to set a longer timeout in the future.
This commit is contained in:
parent
30639ed72b
commit
a6206a3aef
3 changed files with 73 additions and 14 deletions
|
|
@ -232,7 +232,7 @@ CURLcode add_buffer_send(send_buffer *in,
|
|||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
http->sending = HTTPSEND_BODY;
|
||||
/* the full buffer was sent, clean up and return */
|
||||
}
|
||||
if(in->buffer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue