Re: curl exit code change after 335dc0e3c5968827 intentional?
Stefan Eissing via curl-library <[email protected]> Tue, 14 Apr 2026 11:29:08 +0200
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
> Am 13.04.2026 um 11:04 schrieb Fabian Keil via curl-library <[email protected]>: > > After updating my curl sources and running the Privoxy cts > tests I noticed two new test failures. One example is: > [...] > 10:43:22.055289 * Trying 127.0.0.1:9119... > 10:43:22.055376 * Name '127.0.1.3' family 2 resolved to '127.0.1.3' family 2 > 10:43:22.055393 * Local port: 0 > 10:43:22.055642 * Established connection to 127.0.0.1 (127.0.0.1 port 9119) from 127.0.1.3 port 58852 > 10:43:22.057759 * using HTTP/1.x > 10:43:22.057856 * sending last upload chunk of 124 bytes > 10:43:22.057897 * Curl_xfer_send(len=124, eos=1) -> 0, 124 > 10:43:22.057902 => Send header, 124 bytes (0x7c) > 0000: GET http://127.0.0.1/4 HTTP/1.1 > 0021: Host: 127.0.0.1 > 0032: User-Agent: curl/8.20.0-DEV > 004f: Accept: */* > 005c: Proxy-Connection: Keep-Alive > 007a: > 10:43:22.057991 * Request completely sent off > 10:43:22.058077 * Recv failure: Connection reset by peer > 10:43:22.058087 * sendrecv_dl() -> 56 > 10:43:22.058092 * Curl_sendrecv() -> 56 > 10:43:22.058136 * closing connection #0 > === End of file trace4 This is really a connection error, as I see it. CURLE_RECV_ERROR is the correct error code. - Stefan -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html