• Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 20
    • 20
    • core-libs

      Idle Connection Timeouts for HTTP/2 are added in this release.

      The `jdk.httpclient.keepalivetimeout` property can now be used to configure a system-wide value, in seconds, used to close idle connections for both HTTP/1.1 and HTTP/2 when using the HttpClient. In addition, developer's can also use the `jdk.httpclient.keepalivetimeout.h2` to specify a timeout value exclusively for use with the HTTP/2 protocol, regardless of whether or not the jdk.httpclient.keepalivetimeout` is specified at runtime.

      See the <a href="https://docs.oracle.com/en/java/javase/20/docs/api/java.net.http/module-summary.html"><code>java.net.http</code></a> module and [Networking Properties](https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/net/doc-files/net-properties.html) in the JDK 20 API documentation for a list of current networking properties.

            ccleary Conor Cleary (Inactive)
            ccleary Conor Cleary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: