Daniel Fuchs
1188188ee6
8223463: Replace wildcard address with loopback or local host in tests - part 2
...
Removes (or documents) some usages of the wildcard address in intermittently failing tests.
Reviewed-by: alanb
2019-05-07 18:10:59 +01:00
Michael McMahon
7e142d54bf
8223457: java.net.ServerSocket protected constructor should throw NPE if impl null
...
Reviewed-by: dfuchs
2019-05-07 15:39:33 +01:00
Sean Coffey
a712b37bd0
8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
...
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Michael McMahon
70ea5ab6e1
8216978: Drop support for pre JDK 1.4 SocketImpl implementations
...
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01:00
Daniel Fuchs
7d4520c109
8223145: Replace wildcard address with loopback or local host in tests - part 1
...
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.
Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Daniel Fuchs
72467d916c
8129315: java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
...
Tests are updated to use the loopback address instead of the wildcard to avoid traffic being routed to a different server than what was intended by the test.
Reviewed-by: chegar
2019-04-26 16:25:43 +01:00
Daniel Fuchs
853da81cfe
8222527: HttpClient doesn't send HOST header when tunelling HTTP/1.1 through http proxy
...
HttpClient no longer filters out system host header when sending tunelling CONNECT request to proxy
Reviewed-by: michaelm
2019-04-18 17:56:46 +01:00
Daniel Fuchs
47b9d898ab
8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
...
When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.
Reviewed-by: chegar, michaelm
2019-03-28 12:16:36 +00:00
Arthur Eubanks
0c2b7c4fc3
8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
...
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Chris Hegarty
1933437f12
8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
...
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Alan Bateman
fd14375ae2
8221259: New tests for java.net.Socket to exercise long standing behavior
...
Reviewed-by: chegar
2019-03-21 17:38:41 +00:00
Chris Hegarty
defc86bd5b
8221098: Run java/net/URL/HandlerLoop.java in othervm mode
...
Reviewed-by: alanb, martin
2019-03-20 09:17:48 +00:00
Chris Hegarty
5ee0711360
8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
...
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00:00
Alan Bateman
8743be63c4
8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
...
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Reviewed-by: chegar
2019-03-16 19:44:12 +00:00
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
Chris Hegarty
ac5daa7a22
Merge
2019-02-08 13:07:44 +00:00
Chris Hegarty
bba5ddd08f
Merge
2019-02-08 12:44:16 +00:00
Chris Hegarty
fb05ae21bb
8218662: Allow 204 responses with Content-Length:0
...
Reviewed-by: michaelm
2019-02-08 12:23:16 +00:00
Chris Hegarty
10a281c485
8218546: Unable to connect to https://google.com using java.net.HttpClient
...
Reviewed-by: dfuchs
2019-02-08 11:26:21 +00:00
Christoph Langer
f828beb2d0
8217657: Move the test for default value of jdk.includeInExceptions into own test
...
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00: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
Chris Hegarty
02924f478b
8217976: test/jdk/java/net/httpclient/websocket/WebSocketProxyTest.java fails intermittently
...
Reviewed-by: dfuchs
2019-01-29 16:12:12 +00:00
Daniel Fuchs
6dcfd0f93a
8217882: java/net/httpclient/MaxStreams.java failed once
...
Added some more traces to help diagnosis
Reviewed-by: bpb
2019-01-28 18:49:34 +00:00
Daniel Fuchs
6b64f80be4
8217903: java/net/httpclient/Response204.java fails with 404
...
Fixed test to use loopback address - this looks like a port reuse issue.
Reviewed-by: chegar
2019-01-28 18:45:34 +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
Chris Hegarty
46f4ab603b
8217429: WebSocket over authenticating proxy fails to send Upgrade headers
...
Reviewed-by: dfuchs, prappo
2019-01-28 13:51:16 +00:00
Daniel Fuchs
7f10cbedd5
8217627: HttpClient: The API documentation of BodySubscribers::mapping promotes bad behavior
...
The API documentation is updated to steer away from blocking in the mapper function, and an alternative is suggested.
Reviewed-by: chegar
2019-01-25 18:13:25 +00:00
Jesper Wilhelmsson
fd21613d59
Merge
2019-01-25 18:12:06 +01:00
Roger Riggs
083500194a
8217740: SocksIPv6Test compilation error
...
Reviewed-by: bpb
2019-01-24 14:39:16 -05:00
Michael McMahon
0fc677a674
8216986: Remove unused code from SocksSocketImpl
...
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
Daniel Fuchs
a8ae1c1332
8217264: HttpClient: Blocking operations in mapper function do not work as documented
...
Ensures that a new task is spawned when calling getBody() on a mapping BodySubscriber.
Reviewed-by: chegar
2019-01-24 12:32:42 +00:00
Jesper Wilhelmsson
bc920bd00d
Merge
2019-01-22 19:56:19 +01:00
Christoph Langer
bc651663e3
8207404: MulticastSocket tests failing on AIX
...
Reviewed-by: chegar, sgroeger
2019-01-21 06:55:59 +00:00
Michael McMahon
d089a4ae51
8217237: HttpClient does not deal well with multi-valued WWW-Authenticate challenge headers
...
Reviewed-by: chegar, dfuchs
2019-01-17 15:24:20 +00:00
Daniel Fuchs
3b68bb2960
8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
...
The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed
Reviewed-by: chegar
2019-01-16 19:09:16 +00:00
Daniel Fuchs
ca77adf19f
8216974: HttpConnection not returned to the pool after 204 response
...
MultiExchange now call nullBody() on Exchange after receiving 204
Reviewed-by: chegar
2019-01-15 11:34:20 +00:00
Pavel Rappo
884c808e83
8215292: Back out changes for node- and link- local ipv6 multicast address
...
Reviewed-by: chegar, alanb
2018-12-14 19:49:03 +00:00
Daniel Fuchs
6627b03332
8216498: Confusing and unneeded wrapping of SSLHandshakeException
...
[httpclient] Avoid wrapping SSLHandshakeException in plain IOException
Reviewed-by: chegar
2019-01-11 14:48:19 +00:00
Jesper Wilhelmsson
f4f859b446
Merge
2018-12-19 20:53:30 +01:00
Alan Bateman
888057a89f
8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
...
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00:00
Roger Riggs
c03797a5d0
8214445: [test] java/net/URL/HandlerLoop has illegal reflective access
...
Reviewed-by: lancea, chegar, bpb
2018-11-29 09:19:16 -05:00
Roger Riggs
48d68d182a
8214014: Remove vestiges of gopher: protocol proxy support
...
Reviewed-by: lancea, alanb
2018-11-28 16:04:36 -05:00
Sean Coffey
7b8898d03c
8213942: URLStreamHandler initialization race
...
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
Chris Yin
fb6de4b0b6
8129310: java/net/Socket/asyncClose/AsyncClose.java fails intermittently
...
Reviewed-by: dfuchs
2018-11-20 09:59:58 +08:00
Michael McMahon
1b34ea35c9
8213616: URLPermission with query or fragment behaves incorrectly
...
Reviewed-by: chegar, dfuchs
2018-11-15 11:26:46 +00:00
Michael McMahon
028f2e14b3
8213189: Make restricted headers in HTTP Client configurable and remove Date by default
...
Reviewed-by: dfuchs
2018-11-14 14:23:21 +00:00
Pavel Rappo
cea9c21479
8210493: Bind to node- or linklocal ipv6 multicast address fails
...
Reviewed-by: alanb, chegar
2018-11-12 12:55:36 +00:00
Chris Hegarty
4187dff26a
8213418: Socket/ServerSocket supportedOptions does not work with custom SocketImpl
...
Reviewed-by: alanb, dfuchs
2018-11-08 16:16:57 +00:00
Mandy Chung
9ffe7e1205
8211122: Reduce the number of internal classes made accessible to jdk.unsupported
...
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Chris Hegarty
84d6099da9
8213296: Fix legal headers in test/jdk/java/net
...
Reviewed-by: alanb, dfuchs
2018-11-02 16:11:29 +00:00