mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:53:31 +03:00
socketpair: allow CURL_DISABLE_SOCKETPAIR
... to completely disable the use of socketpair
This commit is contained in:
parent
861b45423d
commit
b4a712dab0
2 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue