Commit Graph

478 Commits

Author SHA1 Message Date
Daniel Jeliński
728b858c78 8318130: SocksSocketImpl needlessly encodes hostname for IPv6 addresses
Reviewed-by: dfuchs, jpai, aefimov, michaelm
2023-10-24 05:36:43 +00:00
Daniel Jeliński
d9ce525a1c 8318150: StaticProxySelector.select should not throw NullPointerExceptions
Reviewed-by: jpai, dfuchs
2023-10-20 06:18:18 +00:00
Daniel Fuchs
6273ab97dc 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Reviewed-by: michaelm, djelinski
2023-10-13 14:35:50 +00:00
Vyom Tewari
460ebcd9cb 8314978: Multiple server call from connection failing with expect100 in getOutputStream
Reviewed-by: dfuchs
2023-10-08 05:13:00 +00:00
Daniel Fuchs
4c5b66dcea 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Reviewed-by: djelinski
2023-10-05 10:44:05 +00:00
Daniel Fuchs
8093563bce 8317295: ResponseSubscribers.SubscriberAdapter should call the finisher function asynchronously
Reviewed-by: djelinski
2023-10-02 13:06:43 +00:00
Daniel Fuchs
fc98998627 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: djelinski
2023-09-28 13:32:38 +00:00
Claes Redestad
c24c66db97 8316681: Rewrite URLEncoder.encode to use small reusable buffers
Reviewed-by: dfuchs, rriggs
2023-09-22 09:41:01 +00:00
Glavo
f25c920fd3 8314774: Optimize URLEncoder
Reviewed-by: redestad, dfuchs
2023-09-19 13:49:58 +00:00
Daniel Fuchs
dc5ca1d379 8316031: SSLFlowDelegate should not log from synchronized block
Reviewed-by: djelinski
2023-09-15 17:21:27 +00:00
Daniel Fuchs
4f864faf42 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Reviewed-by: jpai
2023-09-15 08:30:18 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Aleksey Shipilev
947dee7f2d 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Reviewed-by: jpai, aefimov, dfuchs
2023-09-12 18:13:55 +00:00
Darragh Clarke
1664e793eb 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Reviewed-by: dfuchs, jpai
2023-08-28 10:03:42 +00:00
Vyom Tewari
acaab6fd74 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Reviewed-by: dfuchs
2023-08-24 15:46:44 +00:00
Matthias Baesken
703817d21f 8314517: some tests fail in case ipv6 is disabled on the machine
Reviewed-by: mdoerr, lucy, jpai, dfuchs
2023-08-23 10:44:40 +00:00
Jaikiran Pai
486c7844f9 8312433: HttpClient request fails due to connection being considered idle and closed
Reviewed-by: djelinski
2023-07-27 12:14:14 +00:00
Michael McMahon
298dda4c98 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Reviewed-by: aefimov, msheppar
2023-07-24 14:13:44 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Michael McMahon
4ae3d8f2cd 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:17:07 +00:00
Conor Cleary
00ac46c06d 8310645: CancelledResponse.java does not use HTTP/2 when testing the HttpClient
Reviewed-by: dfuchs
2023-07-05 11:04:10 +00:00
Darragh Clarke
87c79c0801 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Reviewed-by: alanb, dfuchs
2023-07-03 10:03:54 +00:00
Jaikiran Pai
05e9c41edd 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Reviewed-by: dfuchs
2023-06-27 11:01:09 +00:00
Daniel Fuchs
99d2a9afa9 8310330: HttpClient: debugging interestOps/readyOps could cause exceptions and smaller cleanup
Reviewed-by: djelinski
2023-06-20 15:51:43 +00:00
Daniel Fuchs
f8f8bfbea1 8309939: HttpClient should not use Instant.now() as Instant source for deadlines
Reviewed-by: djelinski
2023-06-19 13:26:26 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Darragh Clarke
a48bcf3671 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
2023-06-09 14:06:00 +00:00
Jaikiran Pai
3ccb3c0e09 8305906: HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
Reviewed-by: djelinski, dfuchs
2023-06-07 09:44:14 +00:00
Daniel Jeliński
fadcd65018 8309527: Improve test proxy performance
Reviewed-by: dfuchs, jpai
2023-06-07 07:51:05 +00:00
Jaikiran Pai
ac1597bcc7 8309409: Update HttpInputStreamTest and BodyProcessorInputStreamTest to use hg.openjdk.org
Reviewed-by: dfuchs
2023-06-04 09:48:11 +00:00
Daniel Fuchs
4aea7dab15 8309120: java/net/httpclient/AsyncShutdownNow.java fails intermittently
Reviewed-by: jpai
2023-05-31 10:49:20 +00:00
Daniel Fuchs
04b0e785f6 8307648: java/net/httpclient/ExpectContinueTest.java timed out
Reviewed-by: djelinski
2023-05-30 16:32:11 +00:00
Michael McMahon
e7edf8d145 8300038: Make new version of JNU_GetStringPlatformChars which checks for null characters
Reviewed-by: dfuchs, naoto
2023-05-25 14:57:29 +00:00
Daniel Fuchs
736b90d54b 8308310: HttpClient: Avoid logging or locking from within synchronized blocks
Reviewed-by: jpai
2023-05-24 14:23:24 +00:00
Daniel Fuchs
582ddeb2b2 8308545: java/net/httpclient/ShutdownNow.java fails with "stream 1 cancelled"
Reviewed-by: jpai
2023-05-23 12:02:58 +00:00
Jaikiran Pai
1a6f9810cd 8308185: Update Http2TestServerConnection to use SSLSocket.startHandshake()
Reviewed-by: djelinski
2023-05-17 10:06:22 +00:00
Daniel Fuchs
72294c5402 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
Reviewed-by: djelinski, michaelm
2023-05-16 09:13:17 +00:00
Daniel Fuchs
9ad38cbeaf 8307626: java/net/httpclient/FlowAdapter* tests should close the HttpClient instances
Reviewed-by: aefimov, jpai
2023-05-11 16:31:04 +00:00
Conor Cleary
ad90fb6da3 8293786: HttpClient will not send more than 64 kb of data from the 2nd request in http2
Reviewed-by: dfuchs, djelinski
2023-05-08 14:49:43 +00:00
Darragh Clarke
4b02956d42 8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
Reviewed-by: djelinski, dfuchs
2023-05-08 14:33:44 +00:00
Daniel Fuchs
41d58533ac 8306940: test/jdk/java/net/httpclient/XxxxInURI.java should call HttpClient::close
Reviewed-by: jpai, djelinski
2023-04-27 08:25:40 +00:00
Daniel Fuchs
98e8616a0c 8301169: java/net/httpclient/ThrowingSubscribersAsInputStream.java,ThrowingSubscribersAsInputStreamAsync.java, and other httpclient tests failing on windows: Unable to establish loopback connection
Reviewed-by: aefimov, djelinski
2023-04-25 15:48:12 +00:00
Michael McMahon
314db55f6d 8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Daniel Fuchs
90b4006bce 8305847: Improve diagnosability and resilience of HttpClient::close tests
Reviewed-by: jpai, djelinski
2023-04-13 15:27:45 +00:00
Jaikiran Pai
646b666a26 8305900: Use loopback IP addresses in security policy files of httpclient tests
Reviewed-by: dfuchs
2023-04-13 09:41:01 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Daniel Fuchs
6580c4e631 8267140: Support closing the HttpClient by making it auto-closable
Reviewed-by: jpai
2023-04-06 10:05:20 +00:00
Daniel Fuchs
2f36eb0121 8305323: Update java/net/httpclient/ContentLengthHeaderTest.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-31 13:48:20 +00:00
Daniel Jeliński
2d607c9cd1 8262294: java/net/httpclient/ProxyAuthDisabledSchemes.java fails with HTTP/1.1 parser received no bytes
Reviewed-by: dfuchs, jpai
2023-03-30 05:15:19 +00:00
Daniel Fuchs
e56bcb04b1 8305095: Update java/net/httpclient/CustomRequestPublisher.java to use new HttpTestServer factory methods
Reviewed-by: jpai
2023-03-29 09:46:15 +00:00