Query: curlopt_expect_100_timeout_ms
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_EXPECT_100_TIMEOUT_MS(3) curl_easy_setopt options CURLOPT_EXPECT_100_TIMEOUT_MS(3)NAMECURLOPT_EXPECT_100_TIMEOUT_MS - timeout for Expect: 100-continue responseSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_EXPECT_100_TIMEOUT_MS, long milliseconds);DESCRIPTIONPass a long to tell libcurl the number of milliseconds to wait for a server response with the HTTP status 100 (Continue), 417 (Expectation Failed) or similar after sending a HTTP request containing an Expect: 100-continue header. If this times out before a response is received, the request body is sent anyway.DEFAULT1000 millisecondsPROTOCOLSHTTPEXAMPLETODOAVAILABILITYAdded in 7.36.0RETURN VALUEReturns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.SEE ALSOCURLOPT_POST(3), CURLOPT_HTTPPOST(3), libcurl 7.54.0 February 03, 2016 CURLOPT_EXPECT_100_TIMEOUT_MS(3)