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
Daniel Jeliński
42f5b9e7aa
8315436: HttpsServer does not send TLS alerts
...
Reviewed-by: dfuchs, michaelm
2023-09-01 10:19:53 +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
Daniel Jeliński
f9827ad172
8288109: HttpExchangeImpl.setAttribute does not allow null value after JDK-8266897
...
Reviewed-by: dfuchs, jpai
2023-04-03 14:57:03 +00:00
Daniel Jeliński
3c4cd50e3c
8304963: HttpServer closes connection after processing HEAD after JDK-7026262
...
Reviewed-by: dfuchs
2023-03-28 06:12:30 +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
450567031e
8304174: Remove delays from httpserver tests
...
Reviewed-by: jpai, dfuchs
2023-03-20 09:31:33 +00:00
Darragh Clarke
e4d1cff659
8300268: ServerImpl allows too many idle connections when using sun.net.httpserver.maxIdleConnections
...
Reviewed-by: dfuchs, vtewari, michaelm, jpai
2023-02-09 12:27:57 +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
4a300818fe
8296747: com/sun/net/httpserver/simpleserver/StressDirListings.java timed out
...
Reviewed-by: jpai
2022-11-11 11:23:57 +00:00
Jaikiran Pai
1553551d82
8286918: Better HttpServer service
...
Reviewed-by: dfuchs, michaelm, ahgross, rhalade
2022-10-18 22:41:16 +00:00
Jaikiran Pai
dddd4e7c81
8289291: HttpServer sets incorrect value for "max" parameter in Keep-Alive header value
...
Reviewed-by: michaelm, dfuchs
2022-06-30 01:43:11 +00:00
Julia Boes
9ca435b4c0
8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11
...
Reviewed-by: dfuchs
2022-02-17 10:35:05 +00:00
Julia Boes
f3e8242683
8280965: Tests com/sun/net/httpserver/simpleserver fail with FileSystemException on Windows 11
...
Reviewed-by: dfuchs
2022-02-07 09:28:05 +00:00
Julia Boes
20297deaeb
8280161: com/sun/net/httpserver/simpleserver/jwebserver/MaxRequestTimeTest.java fails with SSLException
...
Reviewed-by: dfuchs
2022-01-20 12:16:21 +00:00
Julia Boes
9f30ec174f
8278398: jwebserver: Add test to confirm maximum request time
...
Reviewed-by: dfuchs, michaelm
2022-01-14 12:48:03 +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
Julia Boes
f505396ccc
8277459: Add jwebserver tool
...
Reviewed-by: michaelm, dfuchs, ihse
2021-12-01 10:37:09 +00:00
Julia Boes
13deb38433
8276848: sun.net.httpserver.simpleserver.CommandLinePositiveTest: test does not specify port
...
Reviewed-by: dfuchs
2021-11-12 12:05:45 +00:00
Julia Boes
ee49963258
8275534: com.sun.net.httpserver.BasicAuthenticator should check whether "realm" is a quoted string
...
Reviewed-by: michaelm, dfuchs
2021-11-04 11:31:51 +00:00
Julia Boes
9d191fce55
8245095: Implementation of JEP 408: Simple Web Server
...
Co-authored-by: Julia Boes <jboes@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Ivan Šipka <isipka@openjdk.org>
Reviewed-by: ihse, jlaskey, michaelm, chegar, dfuchs
2021-10-19 10:19:15 +00:00
Julia Boes
50bb7313a7
8270286: com.sun.net.httpserver.spi.HttpServerProvider: remove use of deprecated API
...
Reviewed-by: chegar
2021-07-22 09:45:49 +00:00
Patrick Concannon
326b2e1344
8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
...
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Julia Boes
f485171ce8
8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE
...
Reviewed-by: dfuchs
2021-07-06 13:29:40 +00:00
Julia Boes
82bfc5d45c
8268960: com/sun/net/httpserver/Headers.java: Ensure mutators normalize keys and disallow null for keys and values
...
Reviewed-by: chegar, dfuchs, michaelm
2021-07-01 09:56:22 +00:00
Julia Boes
31320c3474
8267262: com/sun/net/httpserver/Filter improve API documentation of static methods
...
Reviewed-by: dfuchs, chegar
2021-05-20 09:30:10 +00:00
Julia Boes
894547d2c1
8266897: com/sun/net/httpserver/FilterTest.java fails intermittently with AssertionError
...
Reviewed-by: chegar, dfuchs, michaelm
2021-05-18 09:12:33 +00:00
Daniel Fuchs
2d2cd78bde
8266761: AssertionError in sun.net.httpserver.ServerImpl.responseCompleted
...
Reviewed-by: chegar
2021-05-11 14:48:12 +00:00
Julia Boes
115a413ee4
8265123: Add static factory methods to com.sun.net.httpserver.Filter
...
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Reviewed-by: chegar, michaelm, dfuchs
2021-04-29 09:07:46 +00:00
Julia Boes
214d6e21bb
8263506: Make sun.net.httpserver.UnmodifiableHeaders unmodifiable
...
Reviewed-by: michaelm, dfuchs
2021-04-08 13:09:26 +00:00
Michael McMahon
4bb80f3720
8262898: com/sun/net/httpserver/bugs/8199849/ParamTest.java times out
...
Reviewed-by: dfuchs
2021-04-06 16:01:59 +00:00
Patrick Concannon
2b78a43f77
8255584: HttpPrincipal::getName
returns incorrect name
...
Reviewed-by: dfuchs
2020-11-05 10:10:21 +00:00
Patrick Concannon
ae20dd6b9b
8251496: Fix doclint warnings in jdk.net.httpserver
...
Reviewed-by: dfuchs, rriggs, chegar
2020-09-22 08:56:15 +00:00
Nick Gasson
fb300a3ff3
8251517: [TESTBUG] com/sun/net/httpserver/bugs/B6393710.java does not scale socket timeout
...
Reviewed-by: dfuchs
2020-08-14 18:08:30 +08:00
Rahul Yadav
a512099313
8247675: Update DateFormatterTest Copyright
...
The fix updates the test DateFormatterTest copyright by adding missing comma
Reviewed-by: dfuchs, chegar
2020-06-16 13:15:42 +01:00
Rahul Yadav
38f9a938e5
8245307: Update ExchangeImpl to use thread safe DateTimeFormatter
...
The fix updates sun.net.httpserver.ExchangeImpl to use thread safe DateTimeFormatter for response headers, this replaces DateFormat that was using ThreadLocal.
Reviewed-by: dfuchs, alanb, chegar
2020-06-15 16:26:31 +01:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Michael McMahon
b73faca452
8235976: Directives in WWW-Authenticate should be comma separated
...
Reviewed-by: chegar
2019-12-16 16:44:03 +00:00
Julia Boes
e00ded00f0
8233185: HttpServer.stop() blocks indefinitely when called on dispatch thread
...
Skip dispatcherThread.join() if current thread is the dispatcherThread
Reviewed-by: dfuchs, msheppar, vtewari
2019-11-28 13:02:30 +00:00
Daniel Fuchs
f71db3074c
8230435: Replace wildcard address with loopback or local host in tests - part 22
...
Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.
Reviewed-by: michaelm
2019-09-04 18:10:07 +01:00
Patrick Concannon
662348c710
8230159: Add test to verify that com.sun.net.httpserver.BasicAuthenticator constructors throw expected exceptions
...
New BasicAuthenticatorExceptionCheck.java test added
Reviewed-by: chegar, dfuchs, vtewari
2019-09-04 16:42:36 +01:00
Patrick Concannon
77adc77ce3
8229235: com.sun.net.httpserver.HttpExchange should implement AutoCloseable
...
Reviewed-by: dfuchs, michaelm
2019-09-02 15:58:44 +01:00
Michael McMahon
e3b6b7f842
8199849: Add support for UTF-8 encoded credentials in HTTP Basic Authentication
...
Reviewed-by: chegar, dfuchs
2019-08-22 14:36:10 +01:00
Aleksei Efimov
b4a7fb856b
8228508: [TESTBUG] java/net/httpclient/SmokeTest.java fails on Windows7
...
Reviewed-by: dfuchs, chegar
2019-08-13 16:11:28 +01:00
Daniel Fuchs
b99e9165f1
8225512: Replace wildcard address with loopback or local host in tests - part 15
...
Updates httpserver tests to use the loopback instead of the wildcard wherever possible.
Reviewed-by: michaelm
2019-06-11 15:46:26 +01:00
Daniel Fuchs
96bb069a2d
8224865: Replace wildcard address with loopback or local host in tests - part 13
...
Fixes intermittent failures observed in some network tests
Reviewed-by: chegar
2019-06-10 11:17:57 +01:00
Alan Bateman
7e14aeb133
8221481: Reimplement the Legacy Socket API
...
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01:00
Daniel Fuchs
5461726dcc
8224761: Replace wildcard address with loopback or local host in tests - part 12
...
Fixes a batch of intermittent failures.
Reviewed-by: chegar, vtewari
2019-05-27 19:24:42 +01:00
Daniel Fuchs
ee040e4be2
8224603: Replace wildcard address with loopback or local host in tests - part 11
...
Fixes a batch of tests that were observed failing intermittently.
Reviewed-by: chegar, vtewari
2019-05-24 15:34:14 +01:00
Daniel Fuchs
cd9e3c1b13
8223856: Replace wildcard address with loopback or local host in tests - part 8
...
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.
Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01:00