mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
parent
b0119436b0
commit
1c00796039
@ -3248,7 +3248,7 @@ CURLMcode curl_multi_setopt(struct Curl_multi *multi,
|
||||
multi->push_userp = va_arg(param, void *);
|
||||
break;
|
||||
case CURLMOPT_PIPELINING:
|
||||
multi->multiplexing = va_arg(param, long) & CURLPIPE_MULTIPLEX;
|
||||
multi->multiplexing = va_arg(param, long) & CURLPIPE_MULTIPLEX ? 1 : 0;
|
||||
break;
|
||||
case CURLMOPT_TIMERFUNCTION:
|
||||
multi->timer_cb = va_arg(param, curl_multi_timer_callback);
|
||||
|
@ -162,13 +162,13 @@ struct Curl_multi {
|
||||
#define IPV6_DEAD 1
|
||||
#define IPV6_WORKS 2
|
||||
unsigned char ipv6_up; /* IPV6_* defined */
|
||||
bool multiplexing; /* multiplexing wanted */
|
||||
bool recheckstate; /* see Curl_multi_connchanged */
|
||||
bool in_callback; /* true while executing a callback */
|
||||
BIT(multiplexing); /* multiplexing wanted */
|
||||
BIT(recheckstate); /* see Curl_multi_connchanged */
|
||||
BIT(in_callback); /* true while executing a callback */
|
||||
#ifdef USE_OPENSSL
|
||||
bool ssl_seeded;
|
||||
BIT(ssl_seeded);
|
||||
#endif
|
||||
bool dead; /* a callback returned error, everything needs to crash and
|
||||
BIT(dead); /* a callback returned error, everything needs to crash and
|
||||
burn */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user