Change #282080
| Category | curl |
| Changed by | xhon-pelushi <xhon@pelushi.com> |
| Changed at | Thu 17 Sep 2026 22:22:56 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | ccecc619a5f2dbfddca92d9e61ff32d0e1a39366 |
Comments
KNOWN_BUGS: drop the empty error buffer entry, it no longer happens Issue 544 asked for a failf() in the connect path and was closed in April 2016. The call is there, but the entry stayed. Checked against current master by reading CURLOPT_ERRORBUFFER from a program rather than going by what the curl tool prints, and driving the failures with CURLOPT_RESOLVE. The buffer is set every time, with one, two, three and four addresses, for IPv4 and IPv6 alike. The entry describes addresses that cannot be reached at all rather than ones that time out, so the same set was run again inside a network namespace holding only loopback and no routes, where connect() fails immediately. That returns CURLE_COULDNT_CONNECT, which is the case the entry names, and the buffer still holds "Failed to connect to <host> after 0 ms: Could not connect to server". Fixes #544 Closes #22952
Changed files
- docs/KNOWN_BUGS.md