Tells libcurl to clear "everything" that could be related to the previous network setup.
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.
Tells libcurl to clear the DNS cache.
To be used with the
NETWORK_CHANGEDMulti option (libcurl 8.16+). Before libcurl 8.20, all three flags clear both caches.CURLMNWC_CLEAR_CONNSbecomesCurlMultiNetworkChanged.ClearConns