mirror of
https://github.com/curl/curl.git
synced 2026-04-21 11:12:13 +03:00
transfer: make Expect: 100-continue timeout configurable.
Replaced the #define CURL_TIMEOUT_EXPECT_100 in transfer.c with the CURLOPT_EXPECT_100_TIMEOUT_MS option to make the timeout configurable.
This commit is contained in:
parent
bcb32e915e
commit
c021a60bcc
6 changed files with 26 additions and 5 deletions
|
|
@ -1577,6 +1577,10 @@ typedef enum {
|
|||
/* Enable/disable TLS ALPN extension (http2 over ssl might fail without) */
|
||||
CINIT(SSL_ENABLE_ALPN, LONG, 226),
|
||||
|
||||
/* Time to wait for a response to a HTTP request containing an
|
||||
* Expect: 100-continue header before sending the data anyway. */
|
||||
CINIT(EXPECT_100_TIMEOUT_MS, LONG, 227),
|
||||
|
||||
CURLOPT_LASTENTRY /* the last unused */
|
||||
} CURLoption;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue