diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-14 15:45:08 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-26 22:58:21 +0200 |
commit | d854572ccc5f524ba48a158c2c26614def9e39e5 (patch) | |
tree | 2a957fda3e739572a12a8320d48444fe938ce4bf /lib/multihandle.h | |
parent | ce88e21c724d5a45a2c8c295734f65f75cf4ea79 (diff) | |
download | curl-d854572ccc5f524ba48a158c2c26614def9e39e5.tar.gz |
socketpair: allow CURL_DISABLE_SOCKETPAIR
... to completely disable the use of socketpair
Closes #5850
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r-- | lib/multihandle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h index 0c9ce7f74..46eb12146 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -67,11 +67,11 @@ typedef enum { #define CURLPIPE_ANY (CURLPIPE_MULTIPLEX) -#if defined(USE_SOCKETPAIR) && !defined(USE_BLOCKING_SOCKETS) +#if defined(USE_SOCKETPAIR) && !defined(USE_BLOCKING_SOCKETS) && \ + !defined(CURL_DISABLE_SOCKETPAIR) #define ENABLE_WAKEUP #endif - /* value for MAXIMUM CONCURRENT STREAMS upper limit */ #define INITIAL_MAX_CONCURRENT_STREAMS ((1U << 31) - 1) |