Commit Graph

5 Commits

Author SHA1 Message Date
Arthur Eubanks
ef9ce3be1e 8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.

Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Daniel Fuchs
6e04e7659a 8216562: UnknownBodyLength sometimes fails due to "Connection reset by peer"
Uses a longer linger time and avoids closing socket too early.

Reviewed-by: chegar
2019-01-30 18:21:06 +00:00
Daniel Fuchs
8faf2074b1 8210130: java/net/httpclient/UnknownBodyLengthTest.java failed
The fix improves the test robustness by making it retry once in case of IO/Connect exception.

Reviewed-by: chegar
2019-01-28 15:24:41 +00:00
John Jiang
4fe2edae59 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net

Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Michael McMahon
42de356cbd 8207966: HttpClient response without content-length does not return body
Reviewed-by: chegar
2018-08-16 10:22:48 +01:00