mirror of
https://github.com/curl/curl.git
synced 2026-07-23 21:07:17 +03:00
http2-upload.c: use PIPEWAIT for playing HTTP/2 better
This commit is contained in:
parent
41db5aed7a
commit
9f5dcab83d
1 changed files with 5 additions and 0 deletions
|
|
@ -221,6 +221,11 @@ static void setup(CURL *hnd, int num, const char *upload)
|
|||
curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
|
||||
#if (CURLPIPE_MULTIPLEX > 0)
|
||||
/* wait for pipe connection to confirm */
|
||||
curl_easy_setopt(hnd, CURLOPT_PIPEWAIT, 1L);
|
||||
#endif
|
||||
|
||||
curl_hnd[num] = hnd;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue