Commit 9f5dcab8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

http2-upload.c: use PIPEWAIT for playing HTTP/2 better

parent 41db5aed
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;
}