Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: