Commit Graph

96 Commits

Author SHA1 Message Date
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
Jaikiran Pai
3f36dd811e 8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Daniel Jeliński
cddaf686e1 8304962: sun/net/www/http/KeepAliveCache/B5045306.java: java.lang.RuntimeException: Failed: Initial Keep Alive Connection is not being reused
Reviewed-by: jpai
2023-03-28 08:57:02 +00:00
Daniel Jeliński
a5ffa079a0 7026262: HttpServer: improve handling of finished HTTP exchanges
Reviewed-by: dfuchs, michaelm
2023-03-27 05:22:45 +00:00
Daniel Jeliński
a2c5a4ac9e 8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
Reviewed-by: dfuchs
2023-02-27 07:52:03 +00:00
Daniel Jeliński
3ae718725a 8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed"
Reviewed-by: dfuchs, jpai
2022-12-15 06:55:25 +00:00
Daniel Jeliński
27bbe7be2c 8297976: Remove sun.net.ProgressMonitor and related classes
8240275: Occasional errors in HttpURLConnection due to race with GC

Reviewed-by: jpai, dfuchs, michaelm
2022-12-07 08:56:10 +00:00
Johnny Lim
5dcaf6cc6c 8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection
Reviewed-by: dfuchs, jpai
2022-11-30 06:15:07 +00:00
Daniel Fuchs
8effaa8f1f 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
Reviewed-by: djelinski, michaelm
2022-11-24 16:18:28 +00:00
Hai-May Chao
5a8e5ea3e2 8286526: Improve NTLM support
Reviewed-by: weijun, rhalade
2022-10-18 22:41:15 +00:00
Michael McMahon
26ac836636 8291638: Keep-Alive timeout of 0 should close connection immediately
Reviewed-by: dfuchs, jpai
2022-10-13 08:32:48 +00:00
Michael McMahon
cb62f1c5c0 8295218: New KeepAliveTest.java has invalid copyright notice
Reviewed-by: dfuchs, tschatzl
2022-10-12 12:10:07 +00:00
Ramesh Bhagavatam Gangadhar
86ec158dfb 8291226: Create Test Cases to cover scenarios for JDK-8278067
Reviewed-by: dfuchs, michaelm
2022-10-12 11:44:44 +00:00
Alan Bateman
0ad6803ac2 8293810: Remove granting of RuntimePermission("stopThread") from tests
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Daniel Jeliński
43dbf5899b 8186765: Speed up test sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
Reviewed-by: dfuchs, jpai
2022-10-05 06:47:19 +00:00
Daniel Jeliński
03f25a9c69 8293562: blocked threads with KeepAliveCache.get
Reviewed-by: dfuchs, michaelm
2022-10-03 06:32:31 +00:00
Michael McMahon
b17a745d7f 8291637: HttpClient default keep alive timeout not followed if server sends invalid value
Reviewed-by: jpai, dfuchs
2022-08-05 14:51:58 +00:00
Daniel Jeliński
af529be069 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server"
Reviewed-by: dfuchs, jpai
2022-08-03 14:51:28 +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
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
Michael McMahon
7f2a3ca289 8281561: Disable http DIGEST mechanism with MD5 and SHA-1 by default
Reviewed-by: weijun, dfuchs
2022-03-28 13:51:55 +00:00
Mahendra Chhipa
95ca94436d 8282354: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/ tests
Reviewed-by: dfuchs
2022-03-11 10:48:57 +00:00
Mahendra Chhipa
cd9a3cf05b 8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
Reviewed-by: dfuchs
2022-02-17 17:45:06 +00:00
Mahendra Chhipa
0f3d3ac32c 8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
Reviewed-by: dfuchs
2022-02-16 16:43:15 +00:00
Michael McMahon
d8f44aa39e 8278067: Make HttpURLConnection default keep alive timeout configurable
Reviewed-by: dfuchs
2022-02-16 16:01:01 +00:00
Daniel Jeliński
28796cbd1d 8163921: HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC
Reviewed-by: dfuchs, michaelm
2022-01-25 11:10:51 +00:00
Evan Whelan
45ce06c9f3 8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST
Reviewed-by: dfuchs, coffeys, vtewari, michaelm
2021-10-21 13:33:21 +00:00
Ao Qi
b7b78ff1f3 8274561: sun/net/ftp/TestFtpTimeValue.java timed out on slow machines
Reviewed-by: jiefu, dfuchs
2021-10-01 08:52:04 +00:00
Alex Kasko
3e0d7c33d4 8270290: NTLM authentication fails if HEAD request is used
Reviewed-by: dfuchs, michaelm
2021-09-30 15:21:18 +00:00
Mahendra Chhipa
2f955d6f5b 8273142: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/http/ tests
Reviewed-by: michaelm
2021-09-30 11:29:20 +00:00
Evan Whelan
00e059ddb3 8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order
Reviewed-by: dfuchs
2021-09-09 10:23:12 +00:00
Ivan Šipka
5caa77b043 8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java wedged in getInputStream
Reviewed-by: dfuchs
2021-09-07 09:46:27 +00:00
Emmanuel Bourg
d09b028407 8271396: Spelling errors
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Mahendra Chhipa
7621fa37ef 8268464: Remove dependancy of TestHttpsServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/https/ tests
Reviewed-by: dfuchs, michaelm
2021-06-23 15:19:10 +00:00
Weijun Wang
640a2afda3 8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Conor Cleary
8bc8542e3f 8262195: Harden tests that use the HostsFileNameService (jdk.net.hosts.file property)
Reviewed-by: michaelm, aefimov, dfuchs, chegar
2021-03-01 10:18:12 +00:00
Jaikiran Pai
240f2a1bb7 8260366: ExtendedSocketOptions <clinit> can deadlock in some circumstances
Reviewed-by: dfuchs
2021-02-26 14:07:35 +00:00
Mahendra Chhipa
5df2a949e3 8212035: merge jdk.test.lib.util.SimpleHttpServer with jaxp.library.SimpleHttpServer
Reviewed-by: dfuchs
2021-01-13 15:53:05 +00:00
Roger Riggs
876c7fb5f7 8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys
Reviewed-by: lancea, naoto
2021-01-08 21:31:37 +00:00
Conor Cleary
f9c9bf03a8 8255583: Investigate creating a test to trigger the condition in KeepAliveStreamCleaner
Reviewed-by: dfuchs, chegar, michaelm
2020-12-11 16:07:11 +00:00
Igor Ignatyev
7e305ad1d4 8255405: sun/net/ftp/imp/FtpClient uses SimpleDateFormat in not thread-safe manner
Reviewed-by: chegar, ryadav, dfuchs
2020-10-28 23:53:51 +00:00
Igor Ignatyev
6545e19fcc 8255078: sun/net/ftp/imp/FtpClient$MLSxParser uses wrong datetime format
Reviewed-by: dfuchs
2020-10-23 22:31:18 +00:00
Jan Lahoda
211bb62a90 8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonitorStateException: current thread is not owner
Reviewed-by: alanb, chegar, dfuchs
2020-10-22 07:29:37 +00:00
Ivan Sipka
dda0c6cecd 8211974: move test/jdk/lib/testlibrary/java/util/jar/*.java to top-level library or a local library
Reviewed-by: rriggs, bchristi, lancea, iignatyev
2020-07-08 20:35:36 +01:00
Michael McMahon
2f80d69518 8241389: URLConnection::getHeaderFields returns result inconsistent with getHeaderField/Key for FileURLConnection, FtpURLConnection
Reviewed-by: dfuchs
2020-05-22 21:59:40 +01:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Alan Bateman
e5099daae2 8244283: test/jdk/sun/net/idn/TestStringPrep.java fails with --illegal-access=deny
Reviewed-by: chegar
2020-05-04 12:40:17 +01:00
Naoto Sato
1b24cf800f 8174270: Consolidate ICU sources in one location
Reviewed-by: srl, joehw
2020-01-13 08:05:59 -08:00
Daniel Fuchs
7df849224b 8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
Sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly

Reviewed-by: chegar, vtewari
2019-10-31 19:31:03 +00:00
Julia Boes
82747fa960 8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
Preserve BODY in poster output stream before sending CONNECT request

Reviewed-by: dfuchs, vtewari
2019-09-26 12:35:51 +01:00