Chris Hegarty
ac5daa7a22
Merge
2019-02-08 13:07:44 +00:00
Chris Hegarty
bba5ddd08f
Merge
2019-02-08 12:44:16 +00:00
Chris Hegarty
fb05ae21bb
8218662: Allow 204 responses with Content-Length:0
...
Reviewed-by: michaelm
2019-02-08 12:23:16 +00:00
Chris Hegarty
10a281c485
8218546: Unable to connect to https://google.com using java.net.HttpClient
...
Reviewed-by: dfuchs
2019-02-08 11:26:21 +00:00
Chris Hegarty
46f4ab603b
8217429: WebSocket over authenticating proxy fails to send Upgrade headers
...
Reviewed-by: dfuchs, prappo
2019-01-28 13:51:16 +00:00
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
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
Daniel Fuchs
be88e181e2
8216561: HttpClient: The logic of retry on connect exception is inverted
...
Allows retry on connect exception by default, ensuring that the second attempt takes into account the time spent in the first attempt in order to honor the connect timeout value (if present).
Reviewed-by: chegar
2019-01-18 17:06:29 +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
Daniel Fuchs
ad67fe1baf
8216478: Cleanup HttpResponseImpl back reference to HttpConnection
...
Retain a reference to Exchange and HttpConnection only when necessary, i.e. for WebSocket initial connection.
Reviewed-by: chegar
2019-01-14 10:46:08 +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
Roger Riggs
938b844088
8214971: Replace use of string.equals("") with isEmpty()
...
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Jonathan Gibbons
37dc9e2a0d
8213910: Invalid HTML in java.net.http.HttpClient
...
Reviewed-by: mchung, darcy
2018-11-14 16:11:21 -08: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
8c361a3e74
8213490: Networking area typos and inconsistencies cleanup
...
Reviewed-by: alanb, chegar, dfuchs
2018-11-13 12:24:34 +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
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
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
Chris Hegarty
1ac444ad87
8211902: broken link in java.net.http.WebSocket.Builder
...
Reviewed-by: alanb, dfuchs
2018-10-09 13:31:50 +01:00
Daniel Fuchs
bb0074a569
8211349: Bad HTML in {@link} for HttpResponse.BodyHandlers.ofPublisher
...
Fixed links by moving <> out of the link as was done elsewhere in the file.
Reviewed-by: chegar
2018-10-02 14:17:30 +01: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
Chris Hegarty
166030817f
8208391: Differentiate response and connect timeouts in HTTP Client API
...
Reviewed-by: michaelm
2018-08-09 11:23:12 +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
Chris Hegarty
67149b99fd
8207265: Bad HTML in {@link} in HttpResponse.BodySubscribers.ofPublisher
...
Reviewed-by: michaelm
2018-07-17 12:22:41 +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
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
Goetz Lindenmaier
b72846bc20
8202745: Remove hyphens from "out-of-bounds"
...
Reviewed-by: rriggs, dholmes
2018-05-07 23:07:01 +02: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
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