RFR: 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes [v4]
Daniel Fuchs
dfuchs at openjdk.org
Mon Dec 19 16:45:15 UTC 2022
> Please find here a trivial fix for a test issue in the HttpClient test's ProxyServer.
>
> The ProxyServer has a bad printf that throws an IllegalFormatConversionException, which causes the proxy to close the connection after sending a 407 request. Depending on timing, the client might attempt to reuse the closed (or soon to be closed) connection for sending authentication, which then gets the next POST request to fail.
>
> This failure is rare and intermittent (the client usually gets the close notification before it reuses the connection), but sometimes it doesn't.
Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
No special case for -1
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11717/files
- new: https://git.openjdk.org/jdk/pull/11717/files/3d4db2b6..4fadedff
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11717&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11717&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11717.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11717/head:pull/11717
PR: https://git.openjdk.org/jdk/pull/11717
More information about the net-dev
mailing list