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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 13
    • Affects Version/s: None
    • Component/s: 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)

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

              Created:
              Updated:
              Resolved: