Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
CURLOPT_PIPEWAIT(3) | curl_easy_setopt options | CURLOPT_PIPEWAIT(3) |
NAME
CURLOPT_PIPEWAIT - wait for pipelining/multiplexingSYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PIPEWAIT, long wait);
DESCRIPTION
Set wait to 1L to tell libcurl to prefer to wait for a connection to confirm or deny that it can do pipelining or multiplexing before continuing.DEFAULT
0 (off)PROTOCOLS
HTTP(S)EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
curl_easy_setopt(curl, CURLOPT_PIPEWAIT, 1L);
/* now add this easy handle to the multi handle */
}
AVAILABILITY
Added in 7.43.0RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.SEE ALSO
CURLOPT_FORBID_REUSE(3), CURLOPT_FRESH_CONNECT(3), CURLMOPT_PIPELINING(3), CURLMOPT_MAX_HOST_CONNECTIONS(3),May 17, 2022 | libcurl 7.84.0 |