Process httpserver cancelled keys more quickly

XMLWordPrintable

    • master
    • generic
    • generic

      This test verifies that a HttpServer with the "sun.net.httpserver.maxReqTime" system property configured that uses the dispatcher thread will cancel an invalid request and that subsequent requests are handled as normal.

      The source code patch was backported from JDK-8278398 as it was initally required for the "sun.net.httpserver.maxReqTime" system property functionally in the Jwebserver but is now required in JDK17 to allow for the backport of JDK-8304065 to call selector to process cancelled keys to release the dispatcherThread and allow stop() to execute fully.

            Assignee:
            Kieran Farrell
            Reporter:
            Kieran Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: