Re: curl exit code change after 335dc0e3c5968827 intentional?
Fabian Keil via curl-library <[email protected]> Wed, 15 Apr 2026 15:31:35 +0200
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
Daniel Stenberg <[email protected]> wrote on 2026-04-13 at 19:28:26: > On Mon, 13 Apr 2026, Fabian Keil via curl-library wrote: > > > test 0004...[Request from client address from denied network range] > > > > curl returned 56, when expecting 52 > > Clearly your test case now fails differently, so it gets another error code > because 52 is still there and returned for the same reason. We even have test > cases for it. > > It would be helpful if you could make a test case with the curl test suite > that reproduces the problem you experience. The patch set at [0] adds a test server that drops connections without returning data and adds two tests that use it. curl versions before 335dc0e3c report an "Empty reply from server", afterwards its a "Failure in receiving network data". Fabian [0] <https://www.fabiankeil.de/sourcecode/curl-connection-dropper-tests.diff> -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html