Commit Graph

526 Commits

Author SHA1 Message Date
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
Michael McMahon
5cbda815d0 8206001: Enable TLS1.3 by default in Http Client
Reviewed-by: dfuchs
2018-07-04 16:16:24 +01:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +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
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Vyom Tewari
6a48db9cf6 8194298: Add support for per Socket configuration of TCP keepalive
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Chris Hegarty
cfe6c55f1e 8203297: java/net/URL/OpenStream.java fails intermittently
Reviewed-by: alanb, dfuchs
2018-05-24 15:23:28 +01:00
Felix Yang
e02ef02e11 8202708: Add a check of opening stream for not-existing UNC url
Reviewed-by: rriggs
2018-05-14 11:17:18 -07:00
Chris Hegarty
8e69e1b11f 8202423: Small 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, prappo
2018-05-02 02:36:17 -07:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Ivan Gerasimov
9303a8a180 8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
Reviewed-by: chegar
2018-04-19 09:36:06 -07:00
Felix Yang
2997d6f6f0 8194260: Point-to-point interface should be excluded from java/net/ipv6tests/*
Reviewed-by: chegar, vtewari
2018-04-17 23:27:41 -07:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Chris Hegarty
a3b61fd4c7 8197564: HTTP Client implementation
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, prappo
2018-04-17 08:54:17 -07:00
Michael McMahon
3b1fdecd45 8196775: java/net/Socket/asyncClose/Race.java failed intermittently on Windows with ConnectException: Connection refused
Reviewed-by: dfuchs
2018-04-11 10:19:37 +01:00
Pallavi Sonal
cab25623b6 8144300: http.nonProxyHosts value having wildcard * both at end and start are not honored
Added validation for wildcard at start and end

Reviewed-by: chegar, dfuchs, clanger
2018-03-26 17:33:58 +05:30
Ivan Gerasimov
3d160a80fc 8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Martin Buchholz
fa4abe66dd 8198810: URLClassLoader does not specify behavior when URL array contains null
Reviewed-by: alanb, darcy, dholmes
2018-03-01 19:01:34 -08:00
Roger Riggs
0b8689b331 8195059: Update java.net Socket and DatagramSocket implementations to use Cleaner
Reviewed-by: chegar, plevart
2018-02-02 14:17:07 -05:00
Lana Steuck
414e05f6d7 Merge 2018-02-02 01:52:03 +00:00
Vyom Tewari
78de84bc1e 8194676: NullPointerException is thrown if ipaddress is not set
Reviewed-by: chegar, rriggs
2018-01-25 16:22:52 +05:30
Daniel Fuchs
424048c75f 8195138: The asynchronous Http1HeaderParser doesn't handle all line folds correctly
Reviewed-by: chegar
2018-01-16 19:19:03 +00:00
Chris Hegarty
2c4e89d7a2 8194883: Unhandleable Push Promises should be cancelled
Reviewed-by: dfuchs
2018-01-13 16:47:11 +00:00
Chris Hegarty
7acb09ea5e 8195823: Buffers given to response body subscribers should not contain unprocessed HTTP data
Reviewed-by: dfuchs, michaelm
2018-01-23 12:23:55 +00:00
Chris Hegarty
7302c9c8c5 8193365: Improve interoperability between HTTP Client's BodyPublisher/BodySubscriber and Flow.Subscriber/Publisher
Reviewed-by: dfuchs
2017-12-21 16:58:51 +00:00
Jesper Wilhelmsson
8650bbcf47 Merge 2017-12-20 20:55:07 +01:00
Chris Hegarty
fc13efa1f3 8193698: Null handling in BodyPublisher, BodyHandler, and BodySubscriber convenience static factory methods
Reviewed-by: dfuchs
2017-12-18 10:21:38 +00:00
Michael McMahon
2ef82abdb6 8192966: HttpClient should reuse TCP connection for h2c connections
Reviewed-by: dfuchs
2017-12-19 15:48:49 +00:00
Daniel Fuchs
c8868455fe 8193370: Provide more user friendly defaults for HTTP/2 client settings
Reviewed-by: chegar
2017-12-13 16:16:17 +00:00
Joe Wang
4f080a83af 8183743: Umbrella: add overloads that take a Charset parameter
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Jesper Wilhelmsson
f1985b2e7e Merge 2017-12-13 23:06:59 +01:00
Vladimir Kozlov
c11f132abe 8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
Skip tests which use --limit-modules when Graal is used as JIT compiler.

Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
Chris Hegarty
37811b7460 8191494: Refresh incubating HTTP Client
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
2017-12-06 11:11:59 -08:00
Vyom Tewari
d55fdd6c56 8190843: can not set/get extendedOptions to ServerSocket
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Naoto Sato
ab49e12b7f 8189291: Test policy should extend the default system policy
Reviewed-by: mchung
2017-10-24 08:56:30 -07:00
Frank Yuan
e92da5e381 8187700: SetAuthenticator tests should handle the proxy port
Reviewed-by: dfuchs
2017-10-09 17:37:15 +08:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Chris Hegarty
b98d0bda76 8181176: java/net/httpclient/websocket/ConnectionHandover.java times out
Reviewed-by: coffeys
2017-09-26 10:20:35 +01:00
Felix Yang
300988fb02 8085875: java/net/DatagramSocket/PortUnreachable.java fails intermittently: Address already in use
Reviewed-by: msheppar, clanger
2017-09-21 20:05:46 -07:00
Felix Yang
e634950b41 8187026: Remove intermittent key from java/net/httpclient/http2/BasicTest.java
Reviewed-by: chegar
2017-09-21 19:48:32 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00