Integrated: 8256459: java/net/httpclient/ManyRequests.java and java/net/httpclient/LineBodyHandlerTest.java fail infrequently with java.net.ConnectException: Connection timed out: no further information

Daniel Fuchs dfuchs at openjdk.java.net
Thu Dec 10 10:12:35 UTC 2020


On Wed, 9 Dec 2020 15:37:42 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Hi, 
> 
> Please find here a changeset that fixes the infrequent (but annoying) test failures
> caused by unexpected ConnectionException "Connection timed out: no further information"
> which have been observed to occur on some platforms.
> 
> Tests are updated to allow the test server to handle requests concurrently.
> PlainHttpConnection is updated to retry connection once if chan::finishConnect fails
> early with ConnectionException and the connection timeout has not expired.

This pull request has now been integrated.

Changeset: 4a839e95
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/4a839e95
Stats:     172 lines in 6 files changed: 124 ins; 8 del; 40 mod

8256459: java/net/httpclient/ManyRequests.java and java/net/httpclient/LineBodyHandlerTest.java fail infrequently with java.net.ConnectException: Connection timed out: no further information

Reviewed-by: chegar

-------------

PR: https://git.openjdk.java.net/jdk/pull/1716


More information about the net-dev mailing list