mirror of
https://github.com/curl/curl.git
synced 2026-08-01 18:30:28 +03:00
make value for CURLMOPT_NETWORK_CHANGED a bitmask with defined constants
This commit is contained in:
parent
918944cf57
commit
1e88ce5f45
5 changed files with 34 additions and 16 deletions
|
|
@ -401,6 +401,17 @@ typedef enum {
|
|||
CURLMOPT_LASTENTRY /* the last unused */
|
||||
} CURLMoption;
|
||||
|
||||
/* Definition of bits for the CURLMOPT_NETWORK_CHANGED argument: */
|
||||
|
||||
/* - CURLM_NWCOPT_CLEAR_CONNS tells libcurl to prevent further reuse
|
||||
of existing connections. Connections that are idle will be closed.
|
||||
Ongoing transfers will continue with the connection they have. */
|
||||
#define CURLM_NWCOPT_CLEAR_CONNS (1L<<0)
|
||||
|
||||
/* - CURLM_NWCOPT_CLEAR_DNS tells libcurl to prevent further reuse
|
||||
of existing connections. Connections that are idle will be closed.
|
||||
Ongoing transfers will continue with the connection they have. */
|
||||
#define CURLM_NWCOPT_CLEAR_DNS (1L<<0)
|
||||
|
||||
/*
|
||||
* Name: curl_multi_setopt()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue