225 Commits

Author SHA1 Message Date
Daniel Fuchs
a74ebd048a 8299325: java/net/httpclient/CancelRequestTest.java fails "test CancelRequestTest.testGetSendAsync("https://localhost:46509/https1/x/same/interrupt", true, true)"
Reviewed-by: jpai
2023-01-30 14:41:59 +00:00
Daniel Fuchs
041a12e655 8301255: Http2Connection may send too many GOAWAY frames
Reviewed-by: jpai
2023-01-30 14:36:36 +00:00
Jaikiran Pai
8a47429dc0 8295944: Move the Http2TestServer and related classes into a package of its own
Reviewed-by: dfuchs
2023-01-25 13:38:02 +00:00
Daniel Fuchs
49d60fee49 8300172: java/net/httpclient/MappingResponseSubscriber.java failed with java.net.ConnectException
Reviewed-by: jpai
2023-01-20 09:23:37 +00:00
Chris Hegarty
a7d6de71bb 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: dfuchs, djelinski, jpai
2022-12-21 12:19:06 +00:00
Daniel Fuchs
e5edb10dc5 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: djelinski, jpai
2022-12-20 11:06:36 +00:00
Daniel Fuchs
5df00d34fe 8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with AssertionError due to Pending TCP connections: 1
Reviewed-by: jpai
2022-12-20 11:05:38 +00:00
Michal Karm Babacek
909d0cb4d9 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body
Reviewed-by: dfuchs
2022-12-16 12:28:39 +00:00
Daniel Fuchs
05d67f69e3 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt
Reviewed-by: jpai
2022-12-09 15:23:22 +00:00
Darragh Clarke
3aa4070d4c 8294047: HttpResponseInputStream swallows interrupts
Reviewed-by: dfuchs, vtewari, jpai
2022-12-08 01:39:07 +00:00
Daniel Fuchs
6d0fbb2c49 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test
Reviewed-by: alanb, jpai, michaelm
2022-12-02 10:44:29 +00:00
Daniel Fuchs
d83a07b72c 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive
Reviewed-by: jpai
2022-11-29 12:42:37 +00:00
Daniel Fuchs
134acab5a4 8297149: REDO JDK-8296889: Race condition when cancelling a request
8297075: java/net/httpclient/CancelStreamedBodyTest.java fails with "java.lang.AssertionError: WARNING: tracker for HttpClientImpl(1) has outstanding operations"

Reviewed-by: jpai
2022-11-17 15:08:04 +00:00
Conor Cleary
b9db16ab09 8288717: Add a means to close idle connections in HTTP/2 connection pool
Reviewed-by: dfuchs, michaelm
2022-11-17 08:38:25 +00:00
Daniel Fuchs
8b1ff9e37e 8297132: BACKOUT JDK-8296889: Race condition when cancelling a request
Reviewed-by: djelinski, alanb
2022-11-16 13:13:54 +00:00
Daniel Fuchs
7357a1a379 8296889: Race condition when cancelling a request
Reviewed-by: jpai
2022-11-15 18:36:45 +00:00
Daniel Fuchs
e15d2419ab 8295991: java/net/httpclient/CancelRequestTest.java fails intermittently
Reviewed-by: jpai
2022-11-02 15:31:50 +00:00
Daniel Jeliński
65c84e0cf8 8295777: java/net/httpclient/ConnectExceptionTest.java should not rely on system resolver
Reviewed-by: dfuchs, jpai
2022-10-24 06:08:40 +00:00
Daniel Jeliński
329b49a938 8266900: java/net/httpclient/ShortResponseBody.java fails on windows with java.io.IOException: Unable to establish loopback connection
Reviewed-by: dfuchs
2022-10-24 06:07:10 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Daniel Fuchs
dcd46501e6 8294916: Cancelling a request must eventually cause its response body subscriber to be unregistered
Reviewed-by: michaelm, jpai
2022-10-20 08:48:40 +00:00
Daniel Jeliński
2cee77444f 8289366: Improve HTTP/2 client usage
Reviewed-by: dfuchs, rhalade
2022-10-18 22:41:16 +00:00
Darragh Clarke
b30d922009 8292876: Do not include the deprecated userinfo component of the URI in HTTP/2 headers
Reviewed-by: aefimov, dfuchs, jpai
2022-10-14 01:37:29 +00:00
Daniel Jeliński
fe70487d0b 8294958: java/net/httpclient/ConnectTimeout tests are slow
Reviewed-by: dfuchs, aefimov
2022-10-11 08:50:01 +00:00
Jaikiran Pai
800e68d690 8292044: HttpClient doesn't handle 102 or 103 properly
Reviewed-by: dfuchs, chegar, michaelm
2022-09-22 09:18:22 +00:00
Daniel Fuchs
256b52387b 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped"
Reviewed-by: jpai
2022-08-22 14:14:41 +00:00
Daniel Fuchs
3b9059a147 8290083: ResponseBodyBeforeError: AssertionError or SSLException: Unsupported or unrecognized SSL message
Reviewed-by: jpai
2022-07-12 09:59:29 +00:00
Ryan Ernst
9ccae7078e 8287593: ShortResponseBody could be made more resilient to rogue connections
Reviewed-by: chegar, dfuchs
2022-07-04 16:09:40 +00:00
Daniel Fuchs
f3f078846f 8288746: HttpClient resources could be reclaimed more eagerly
Reviewed-by: jpai, michaelm
2022-06-27 15:11:35 +00:00
Conor Cleary
13d4ddc35b 8286962: java/net/httpclient/ServerCloseTest.java failed once with ConnectException
Reviewed-by: dfuchs, jpai
2022-06-15 15:41:18 +00:00
Conor Cleary
267144311c 8286171: HttpClient/2 : Expect:100-Continue blocks indefinitely when response is not 100
Reviewed-by: dfuchs, jpai
2022-06-09 15:03:52 +00:00
Alexey Ivanov
e0d361cea9 8284191: Replace usages of 'a the' in hotspot and java.base
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Daniel Jeliński
d24c84e768 8286873: Improve websocket test execution time
Reviewed-by: dfuchs, prappo
2022-05-19 13:22:14 +00:00
Conor Cleary
6a7709320d 8283544: HttpClient GET method adds Content-Length: 0 header
Reviewed-by: dfuchs, jpai
2022-05-17 10:01:43 +00:00
Jaikiran Pai
f4258a50e0 8209137: Add ability to bind to specific local address to HTTP client
Reviewed-by: dfuchs, michaelm
2022-05-16 11:45:32 +00:00
Conor Cleary
65da38d844 8284585: PushPromiseContinuation test fails intermittently in timeout
Reviewed-by: dfuchs
2022-05-16 11:14:34 +00:00
Daniel Fuchs
04df8b7437 8286194: ExecutorShutdown test fails intermittently
Reviewed-by: jpai, michaelm
2022-05-13 11:51:42 +00:00
Daniel Fuchs
f143386109 8286293: Tests ShortResponseBody and ShortResponseBodyWithRetry should use less resources
Reviewed-by: michaelm
2022-05-09 13:01:16 +00:00
Daniel Fuchs
5291ec8d56 8277969: HttpClient SelectorManager shuts down when custom Executor rejects a task
Reviewed-by: jpai, michaelm
2022-04-20 13:09:45 +00:00
Daniel Fuchs
1e22c70ff2 8284892: java/net/httpclient/http2/TLSConnection.java fails intermittently
Reviewed-by: djelinski, jpai, michaelm
2022-04-15 09:07:09 +00:00
Mahendra Chhipa
ec73c61d8f 8284353: Update java/net and sun/net/www tests to eliminate dependency on sun.net.www.MessageHeader
Reviewed-by: dfuchs
2022-04-07 10:19:12 +00:00
Conor Cleary
4d2cd26ab5 8263031: HttpClient throws Exception if it receives a Push Promise that is too large
Reviewed-by: dfuchs
2022-04-07 08:42:38 +00:00
Luis Pinto
63fec5da27 8283525: http://tools.ietf.org/html/* URLs return 404
Reviewed-by: coffeys
2022-04-01 13:26:20 +00:00
Daniel Fuchs
710653ce18 8254786: java/net/httpclient/CancelRequestTest.java failing intermittently
Reviewed-by: jpai, michaelm
2022-03-15 12:59:54 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Daniel Fuchs
47800bf3da 8280868: LineBodyHandlerTest.java creates and discards too many clients
Reviewed-by: michaelm
2022-02-02 17:11:22 +00:00
Michael McMahon
bc31ccc95b 8278312: Update SimpleSSLContext keystore to use SANs for localhost IP addresses
Reviewed-by: dfuchs
2021-12-09 17:38:49 +00:00
Daniel Fuchs
37921e3080 8269258: java/net/httpclient/ManyRequestsLegacy.java failed with connection timeout
Reviewed-by: michaelm
2021-12-08 15:31:49 +00:00
Tim Prinzing
b8ac0d20ce 8276681: Additional malformed Javadoc inline tags in JDK source
Reviewed-by: lancea
2021-12-02 21:22:43 +00:00
Daniel Fuchs
03debf2775 8276774: Cookie stored in CookieHandler not sent if user headers contain cookie
Reviewed-by: michaelm
2021-11-19 13:18:12 +00:00