Rahul Yadav
178e69a3b9
8244652: Add test for non utf-8 response handling by websocket
...
The test java.net.httpclient.websocket.WSHandshakeExceptionTest.java checks that the websocket client handles invalid utf-8 sent by the websocket server
Reviewed-by: dfuchs
2020-05-15 14:46:17 +01:00
Rahul Yadav
ed24927500
8240666: Websocket client’s OpeningHandshake discards the HTTP response body
...
The fix updates jdk.internal.net.http.websocket. OpeningHandshake.send() method to process the response body from server
Reviewed-by: chegar, dfuchs, prappo
2020-05-06 17:33:32 +01:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Daniel Fuchs
c6da6681d4
8236859: WebSocket over authenticating proxy fails with NPE
...
This change fixes several issues with WebSocket and proxy authentication. The AuthenticationFilter is changed to support an authenticating server accessed through an authenticating proxy. MultiExchange is fixed to close the previous connection if a new connection is necessary to establish the websocket (websocket connections are not cached and must be closed in that case). WebSocket OpeningHandshake is fixed to close the connection (without creating the RawChannel) if the opening handshake doesn't result in 101 upgrade protocol.
Reviewed-by: prappo, chegar
2020-01-17 17:55:06 +00:00
Patrick Concannon
11d43732bc
8217825: Verify @AfterTest is used correctly in WebSocket tests
...
Remove @AfterTest tags; added in explicit closing of resources e.g. httpServer, webSocket, etc
Reviewed-by: dfuchs, prappo
2019-09-23 16:53:16 +01: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
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
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
Chris Hegarty
659fdd8dc4
8204679: HTTP Client refresh
...
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm
2018-06-20 09:05:57 -07:00
Chris Hegarty
8e69e1b11f
8202423: Small HTTP Client refresh
...
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-05-02 02:36:17 -07:00
Chris Hegarty
a3b61fd4c7
8197564: HTTP Client implementation
...
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-04-17 08:54:17 -07:00
Daniel Fuchs
c8868455fe
8193370: Provide more user friendly defaults for HTTP/2 client settings
...
Reviewed-by: chegar
2017-12-13 16:16:17 +00:00
Chris Hegarty
37811b7460
8191494: Refresh incubating HTTP Client
...
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm
2017-12-06 11:11:59 -08:00
Chris Hegarty
b98d0bda76
8181176: java/net/httpclient/websocket/ConnectionHandover.java times out
...
Reviewed-by: coffeys
2017-09-26 10:20:35 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00