Darragh Clarke
1d9688667e
8319531: FileServerHandler::discardRequestBody could be improved
...
Reviewed-by: dfuchs, jpai, michaelm
2023-11-16 10:54:47 +00:00
Daniel Jeliński
47624f6fc6
8299058: AssertionError in sun.net.httpserver.ServerImpl when connection is idle
...
Reviewed-by: jpai, michaelm, dfuchs
2023-10-31 15:53:28 +00:00
Justin Lu
b55e418a07
8301991: Convert l10n properties resource bundles to UTF-8 native
...
Reviewed-by: naoto
2023-09-14 22:19:18 +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
Darragh Clarke
05e99db466
7065228: To interpret case-insensitive string locale independently
...
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
2023-05-22 10:53:59 +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
Andrey Turbanov
881517586d
8303216: Prefer ArrayList to LinkedList in sun.net.httpserver.ServerImpl
...
Reviewed-by: jpai, vtewari, stsypanov, dfuchs
2023-02-28 20:21:07 +00:00
Jaikiran Pai
43cf8b3d80
8302664: Fix several incorrect usages of Preconditions.checkFromIndexSize
...
Reviewed-by: djelinski, dfuchs, alanb
2023-02-18 00:48:29 +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
Michael McMahon
5596d9ad5c
8288493: Document JDK specific system properties in jdk.httpserver
...
Reviewed-by: dfuchs, jpai, aefimov
2022-10-24 11:40:15 +00:00
Jaikiran Pai
1553551d82
8286918: Better HttpServer service
...
Reviewed-by: dfuchs, michaelm, ahgross, rhalade
2022-10-18 22:41:16 +00:00
thyecust
d4fb91ba04
8291956: Simplify the loop condition in sun.net.httpserver.Request constructor
...
Co-authored-by: Tian Haoyu <tienhoayu@gmail.com>
Reviewed-by: dfuchs, chegar
2022-08-08 11:25:45 +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
Jaikiran Pai
3deb58a89a
8287318: ConcurrentModificationException in sun.net.httpserver.ServerImpl$Dispatcher
...
Reviewed-by: dfuchs
2022-06-01 03:55:55 +00:00
Alisen Chung
38df5701ff
8283805: [REDO] JDK 19 L10n resource files update - msgdrop 10
...
Reviewed-by: naoto
2022-03-31 22:59:21 +00:00
Alisen Chung
634800a536
8283806: [BACKOUT] JDK 19 L10n resource files update - msgdrop 10
...
Reviewed-by: kcr, naoto
2022-03-28 23:37:35 +00:00
Alisen Chung
c0aecd15ae
8280400: JDK 19 L10n resource files update - msgdrop 10
...
Reviewed-by: naoto, kizune
2022-03-28 18:31:17 +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
Jesper Wilhelmsson
52ddbe2dcd
Merge
2022-01-24 21:53:27 +00:00
Julia Boes
ead9feccae
8280441: Missing "classpath exception" in several files from jdk.httpserver
...
Reviewed-by: alanb, dfuchs
2022-01-24 10:03:40 +00:00
Jesper Wilhelmsson
4616c13c2f
Merge
2022-01-20 01:18:38 +00:00
Patrick Concannon
29f61b3b0a
8269944: Better HTTP transport redux
...
Reviewed-by: dfuchs, chegar, rhalade, ahgross
2022-01-18 23:35:32 +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
Julia Boes
10e0318ff7
8278158: jwebserver should set request timeout
...
Reviewed-by: dfuchs, michaelm
2021-12-08 09:16:44 +00:00
Julia Boes
f505396ccc
8277459: Add jwebserver tool
...
Reviewed-by: michaelm, dfuchs, ihse
2021-12-01 10:37:09 +00:00
Magnus Ihse Bursie
51a5731d6d
8277016: Use blessed modifier order in jdk.httpserver
...
Reviewed-by: dfuchs
2021-11-12 14:12:37 +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
Michael McMahon
3a7b663b6f
8265776: Improve Stream handling for SSL
...
Reviewed-by: dfuchs, chegar, rhalade, ahgross
2021-10-19 18:25:58 +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
Sergey Bylokhov
7fff22afe7
8272805: Avoid looking up standard charsets
...
Reviewed-by: weijun, naoto, dfuchs, azvegint, erikj
2021-09-02 22:56:20 +00:00
Julia Boes
685fc3c677
8270903: sun.net.httpserver.HttpConnection: Improve toString
...
Reviewed-by: chegar, vtewari
2021-08-05 09:42:16 +00:00
Jesper Wilhelmsson
c36755dedf
Merge
2021-07-22 00:46:18 +00:00
Patrick Concannon
b87e526af1
8256491: Better HTTP transport
...
Reviewed-by: dfuchs, michaelm, rhalade, ahgross
2021-07-21 20:28:56 +00:00
Yi Yang
afe957cd97
8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
...
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +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
Weijun Wang
6765f90250
8266459: Implement JEP 411: Deprecate the Security Manager for Removal
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +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
Julia Boes
b817855340
8262935: Add missing logging to sun.net.httpserver.ServerImpl
...
Reviewed-by: dfuchs, michaelm
2021-03-04 12:04:10 +00:00
Michael McMahon
953e472ded
8254967: com.sun.net.HttpsServer spins on TLS session close
...
Reviewed-by: dfuchs
2020-10-19 16:57:40 +00: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
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
6d98f3c4d7
8218554: HttpServer: allow custom handlers to request that the connection be closed after the exchange
...
Custom handler code can supply `Connection: close` to response headers in order to force connection close after the exchange terminates.
Reviewed-by: chegar
2019-02-11 18:41:24 +01:00
Michael McMahon
b9279ef850
8211437: java.net.http.HttpClient hangs on 204 reply without Content-length 0
...
Reviewed-by: chegar, dfuchs
2018-10-19 14:23:43 +01:00
Michael McMahon
e8f90125d2
8211420: com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code
...
Reviewed-by: chegar
2018-10-05 11:28:23 +01: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