> **Issue**
> When using HTTP/2 with the HttpClient, it can often be necessary to close an 
> idle Http2 Connection before a server sends a GOAWAY frame. For example, a 
> server or cloud based tool could close a TCP connection silently when it is 
> idle for too long resulting in ConnectionResetException being thrown by the 
> HttpClient.
> 
> **Proposed Solution**
> A new system property, `jdk.httpclient.idleConnectionTimeout`, was added and 
> is used to specify in Milliseconds how long an idle connection (idle 
> connections are those which have no currently active streams) for the 
> HttpClient before the connection is closed.

Conor Cleary has updated the pull request incrementally with two additional 
commits since the last revision:

 - 8288717: Additional check for timeout firing
 - 8288717: Shortened default keepalive time

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/10183/files
  - new: https://git.openjdk.org/jdk/pull/10183/files/764eb44d..a2dc9ebd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10183&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10183&range=01-02

  Stats: 12 lines in 2 files changed: 8 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/10183.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10183/head:pull/10183

PR: https://git.openjdk.org/jdk/pull/10183

Reply via email to