Change #261936
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Sat 21 Mar 2026 23:06:43 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | bagder/CURLMNWC_CLEAR_DNS |
| Revision | 45bdbb32a9ec6bd3132f502170bde30f98828069 |
Comments
multi.h: add CURLMNWC_CLEAR_ALL The two bitmask constants for *CLEAR_DNS and *CLEAR_CONNS were duplicates (both set to 1), so they cannot be distinguished and both actions fire. This shipped in public releases since 8.16.0 to and include 8.19.0. This fix adds CURLMNWC_CLEAR_ALL to be the new 1, and it now implies all bits. The DNS and CONNS defines get two new bits (2, 4). Follow-up to 55c045c86338bfcc1de676c496f Found by Codex Security Closes #20968
Changed files
- docs/libcurl/opts/CURLMOPT_NETWORK_CHANGED.md
- docs/libcurl/symbols-in-versions
- include/curl/multi.h
- lib/multi.c