diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 14:09:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 14:09:32 +0200 |
commit | 155b1f5df9b772e861da2b72aafd8342013b76a2 (patch) | |
tree | 1aa2494db493af6785d111296eee961bb17c9f57 /lib/url.c | |
parent | 979670988a4a3bbed2d77e48541f06e781a19ac1 (diff) |
http2: fix build when NOT h2-enabled
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3365,7 +3365,7 @@ ConnectionExists(struct SessionHandle *data, infof(data, "Pipe is full, skip (%zu)\n", pipeLen); continue; } - +#ifdef USE_NGHTTP2 /* If multiplexed, make sure we don't go over concurrency limit */ if(check->bits.multiplex) { /* Multiplexed connections can only be HTTP/2 for now */ @@ -3376,7 +3376,7 @@ ConnectionExists(struct SessionHandle *data, continue; } } - +#endif /* We can't use the connection if the pipe is penalized */ if(Curl_pipeline_penalized(data, check)) { infof(data, "Penalized, skip\n"); |