diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-08 10:43:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 08:57:18 +0200 |
commit | 02ec1ced9ba3bf70f6198b39c39b15fc80c97f09 (patch) | |
tree | 8fd01a81dcdca7045527a97db9af3a04e5c761f7 /lib/multihandle.h | |
parent | 2ce2f03007cca9e3d8cc1b481ae7c4489c111741 (diff) | |
download | curl-02ec1ced9ba3bf70f6198b39c39b15fc80c97f09.tar.gz |
CURLMOPT_PIPELINE: bit 1 is for multiplexing
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r-- | lib/multihandle.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h index 640e3fb4b..13b32d8fe 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -62,6 +62,8 @@ typedef enum { #define GETSOCK_READABLE (0x00ff) #define GETSOCK_WRITABLE (0xff00) +#define CURLPIPE_ANY (CURLPIPE_HTTP1 | CURLPIPE_MULTIPLEX) + /* This is the struct known as CURLM on the outside */ struct Curl_multi { /* First a simple identifier to easier detect if a user mix up @@ -97,8 +99,8 @@ struct Curl_multi { same actual socket) */ struct curl_hash sockhash; - /* Whether pipelining is enabled for this multi handle */ - bool pipelining_enabled; + /* pipelining wanted bits (CURLPIPE*) */ + long pipelining; /* Shared connection cache (bundles)*/ struct conncache conn_cache; |