mirror of
https://github.com/curl/curl.git
synced 2026-07-26 13:37:21 +03:00
bundles: store no/default/pipeline/multiplex
to allow code to act differently on the situation. Also added some more info message for the connection re-use function to make it clearer when connections are not re-used.
This commit is contained in:
parent
be4c8fd1ef
commit
38bd6bf0bb
7 changed files with 46 additions and 35 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "curl_base64.h"
|
||||
#include "rawstr.h"
|
||||
#include "multiif.h"
|
||||
#include "bundles.h"
|
||||
#include "conncache.h"
|
||||
|
||||
/* The last #include files should be: */
|
||||
#include "curl_memory.h"
|
||||
|
|
@ -1196,7 +1196,7 @@ CURLcode Curl_http2_setup(struct connectdata *conn)
|
|||
|
||||
conn->bits.multiplex = TRUE; /* at least potentially multiplexed */
|
||||
conn->httpversion = 20;
|
||||
conn->bundle->server_supports_pipelining = TRUE;
|
||||
conn->bundle->multiuse = BUNDLE_MULTIPLEX;
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue