aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-04-30 15:25:06 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 08:57:18 +0200
commitf4b8b39881e2d3304abbfb051a8c31f55ba7f550 (patch)
tree071ecdc46ba8a070942807b60e6f2d5634b52c66 /lib/http2.c
parent01e1bdb10ce613d4a94fc618819156fc61d2f419 (diff)
http2: leave WAITPERFORM when conn is multiplexed
No need to wait for our "spot" like for pipelining
Diffstat (limited to 'lib/http2.c')
-rw-r--r--lib/http2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 42f31290f..b8329d880 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -1120,6 +1120,7 @@ CURLcode Curl_http2_setup(struct connectdata *conn)
httpc->upload_mem = NULL;
httpc->upload_len = 0;
+ conn->bits.multiplex = TRUE; /* at least potentially multiplexed */
conn->httpversion = 20;
conn->bundle->server_supports_pipelining = TRUE;