mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:33:35 +03:00
http2: fix build when NOT h2-enabled
This commit is contained in:
parent
979670988a
commit
155b1f5df9
3 changed files with 17 additions and 15 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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue