mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:43:34 +03:00
CURLMOPT_PIPELINE: bit 1 is for multiplexing
This commit is contained in:
parent
2ce2f03007
commit
02ec1ced9b
8 changed files with 48 additions and 36 deletions
|
|
@ -551,8 +551,7 @@ CURLcode Curl_read(struct connectdata *conn, /* connection data */
|
|||
ssize_t nread = 0;
|
||||
size_t bytesfromsocket = 0;
|
||||
char *buffertofill = NULL;
|
||||
bool pipelining = Curl_multi_pipeline_enabled(conn->data->multi) &&
|
||||
!conn->bits.multiplex;
|
||||
bool pipelining = Curl_pipeline_wanted(conn->data->multi, CURLPIPE_HTTP1);
|
||||
|
||||
/* Set 'num' to 0 or 1, depending on which socket that has been sent here.
|
||||
If it is the second socket, we set num to 1. Otherwise to 0. This lets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue