Commit Graph

91 Commits

Author SHA1 Message Date
Daniel Fuchs
7f10cbedd5 8217627: HttpClient: The API documentation of BodySubscribers::mapping promotes bad behavior
The API documentation is updated to steer away from blocking in the mapper function, and an alternative is suggested.

Reviewed-by: chegar
2019-01-25 18:13:25 +00:00
Jesper Wilhelmsson
fd21613d59 Merge 2019-01-25 18:12:06 +01:00
Roger Riggs
083500194a 8217740: SocksIPv6Test compilation error
Reviewed-by: bpb
2019-01-24 14:39:16 -05:00
Michael McMahon
0fc677a674 8216986: Remove unused code from SocksSocketImpl
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
Christoph Langer
f828beb2d0 8217657: Move the test for default value of jdk.includeInExceptions into own test
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00:00
Daniel Fuchs
a8ae1c1332 8217264: HttpClient: Blocking operations in mapper function do not work as documented
Ensures that a new task is spawned when calling getBody() on a mapping BodySubscriber.

Reviewed-by: chegar
2019-01-24 12:32:42 +00:00
Jesper Wilhelmsson
bc920bd00d Merge 2019-01-22 19:56:19 +01:00
Christoph Langer
bc651663e3 8207404: MulticastSocket tests failing on AIX
Reviewed-by: chegar, sgroeger
2019-01-21 06:55:59 +00:00
Michael McMahon
d089a4ae51 8217237: HttpClient does not deal well with multi-valued WWW-Authenticate challenge headers
Reviewed-by: chegar, dfuchs
2019-01-17 15:24:20 +00:00
Daniel Fuchs
3b68bb2960 8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed

Reviewed-by: chegar
2019-01-16 19:09:16 +00:00
Daniel Fuchs
ca77adf19f 8216974: HttpConnection not returned to the pool after 204 response
MultiExchange now call nullBody() on Exchange after receiving 204

Reviewed-by: chegar
2019-01-15 11:34:20 +00:00
Pavel Rappo
884c808e83 8215292: Back out changes for node- and link- local ipv6 multicast address
Reviewed-by: chegar, alanb
2018-12-14 19:49:03 +00:00
Daniel Fuchs
6627b03332 8216498: Confusing and unneeded wrapping of SSLHandshakeException
[httpclient] Avoid wrapping SSLHandshakeException in plain IOException

Reviewed-by: chegar
2019-01-11 14:48:19 +00:00
Jesper Wilhelmsson
f4f859b446 Merge 2018-12-19 20:53:30 +01:00
Alan Bateman
888057a89f 8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00:00
Roger Riggs
c03797a5d0 8214445: [test] java/net/URL/HandlerLoop has illegal reflective access
Reviewed-by: lancea, chegar, bpb
2018-11-29 09:19:16 -05:00
Roger Riggs
48d68d182a 8214014: Remove vestiges of gopher: protocol proxy support
Reviewed-by: lancea, alanb
2018-11-28 16:04:36 -05:00
Sean Coffey
7b8898d03c 8213942: URLStreamHandler initialization race
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
Chris Yin
fb6de4b0b6 8129310: java/net/Socket/asyncClose/AsyncClose.java fails intermittently
Reviewed-by: dfuchs
2018-11-20 09:59:58 +08:00
Michael McMahon
1b34ea35c9 8213616: URLPermission with query or fragment behaves incorrectly
Reviewed-by: chegar, dfuchs
2018-11-15 11:26:46 +00:00
Michael McMahon
028f2e14b3 8213189: Make restricted headers in HTTP Client configurable and remove Date by default
Reviewed-by: dfuchs
2018-11-14 14:23:21 +00:00
Pavel Rappo
cea9c21479 8210493: Bind to node- or linklocal ipv6 multicast address fails
Reviewed-by: alanb, chegar
2018-11-12 12:55:36 +00:00
Chris Hegarty
4187dff26a 8213418: Socket/ServerSocket supportedOptions does not work with custom SocketImpl
Reviewed-by: alanb, dfuchs
2018-11-08 16:16:57 +00:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Chris Hegarty
84d6099da9 8213296: Fix legal headers in test/jdk/java/net
Reviewed-by: alanb, dfuchs
2018-11-02 16:11:29 +00:00
Michael McMahon
ae21c81dd7 8212926: HttpClient does not retrieve files with large sizes over HTTP/1.1
Reviewed-by: chegar, dfuchs
2018-10-25 12:09:41 +01:00
Chris Hegarty
cea4eef60a 8212695: Add explicit timeout to several HTTP Client tests
Reviewed-by: dfuchs, michaelm
2018-10-22 12:25:31 +01:00
Vyom Tewari
3bafe65a75 8212114: Reconsider the affect on closed streams resulting from 8189366
Reviewed-by: chegar, dfuchs
2018-10-22 15:20:43 +05:30
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
John Jiang
4fe2edae59 8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net

Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Michael McMahon
96b43418b5 8203850: java.net.http HTTP client should allow specifying Origin and Referer headers
Reviewed-by: chegar, dfuchs
2018-10-12 11:12:51 +01:00
Vyom Tewari
f4df5cb4c3 8189366: SocketInputStream.available() should check for eof
Reviewed-by: chegar
2018-10-12 12:37:13 +05:30
Chris Hegarty
856f4fe28b 8211927: Add additional diagnostic information to java/net/BindException/Test.java
Reviewed-by: dfuchs
2018-10-09 20:32:24 +01:00
Chris Hegarty
0cb267ad1c 8211325: test/jdk/java/net/Socket/LingerTest.java fails with cleaning up
Reviewed-by: dfuchs
2018-10-02 09:05:07 +01:00
Igor Ignatyev
ab8c7f710c 8211171: move JarUtils to top-level testlibrary
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Chris Yin
33c9c89bf0 8169246: java/net/DatagramSocket/ReportSocketClosed.java fails intermittently with BindException
Reviewed-by: chegar
2018-09-21 16:13:49 +08:00
Chris Yin
f367eb8965 8199931: java/net/MulticastSocket/UnreferencedMulticastSockets.java fails with "incorrect data received"
Reviewed-by: chegar
2018-09-21 15:49:59 +08:00
Hamlin Li
1adaa503bb 8210802: temp files left by tests in jdk/java/net/httpclient
Reviewed-by: chegar, clanger
2018-09-18 13:24:25 +08:00
Igor Ignatyev
3521fc392e 8210779: 8182404 and 8210732 haven't updated copyright years
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe 8210732: remove jdk.testlibrary.Utils
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Michael McMahon
b5fb6b3566 8210311: IllegalArgumentException in CookieManager - Comparison method violates its general contract
Reviewed-by: chegar, dfuchs
2018-09-13 12:07:01 +01:00
Igor Ignatyev
2702b5c299 8182404: remove jdk.testlibrary.JDKToolFinder and JDKToolLauncher
Reviewed-by: amenkov, jcbeyler, alanb
2018-09-10 14:23:37 -07:00
Chris Yin
334d64e9a0 8042902: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently
Reviewed-by: chegar
2018-09-07 09:09:31 +08:00
Michael McMahon
42de356cbd 8207966: HttpClient response without content-length does not return body
Reviewed-by: chegar
2018-08-16 10:22:48 +01:00
Xue-Lei Andrew Fan
66e8f27bd8 8207009: TLS 1.3 half-close and synchronization issues
Reviewed-by: jnimeh, mullan, wetmore
2018-08-14 16:47:56 -07:00
Chris Hegarty
166030817f 8208391: Differentiate response and connect timeouts in HTTP Client API
Reviewed-by: michaelm
2018-08-09 11:23:12 +01:00
Sean Mullan
ac3d4a6722 8208691: Tighten up jdk.includeInExceptions security property
Add stronger warning on usage and add test to check that property is not set

Reviewed-by: alanb, rriggs
2018-08-07 10:29:01 -04:00
Chris Hegarty
1b1355c222 8207846: Generalize the jdk.net.includeInExceptions security property
Reviewed-by: alanb, michaelm, rriggs, mullan
2018-07-25 10:08:39 +01:00
Chris Hegarty
577cdf1f49 8207960: Non-negative WINDOW_UPDATE increments may leave the stream window size negative
Reviewed-by: michaelm
2018-07-24 10:07:26 +01:00
Chris Hegarty
e605cae39f 8207959: The initial value of SETTINGS_MAX_CONCURRENT_STREAMS should have no limit
Reviewed-by: michaelm
2018-07-23 11:47:03 +01:00