Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218554

HttpServer: allow custom handlers to request that the connection be closed after the exchange.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • None
    • core-libs
    • None
    • b08

      It could be useful to make it possible for a custom handler to request that the connection be closed after an exchange, by supplying "Connection: close" to the response headers. This can be useful to free up resources in the case where the application's logic knows that the connection will no longer be needed.

      See: https://mail.openjdk.java.net/pipermail/net-dev/2019-January/012162.html
      (and followup: http://mail.openjdk.java.net/pipermail/net-dev/2019-February/012164.html)

            dfuchs Daniel Fuchs
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: