From 02ec1ced9ba3bf70f6198b39c39b15fc80c97f09 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 May 2015 10:43:36 +0200 Subject: CURLMOPT_PIPELINE: bit 1 is for multiplexing --- lib/multihandle.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/multihandle.h') 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; -- cgit v1.2.3