HttpServer::stop times out with zero inflight exchanges

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      HttpServer.stop will wait for exchanges to complete and set the finished flag to true. This never happens because there were no inflight exhanges when the stop/shutdown was initiated.

      See https://github.com/openjdk/jdk/pull/24418#issuecomment-2778350297

      "HttpServer.stop should probably look at exchangeCount too - but that will require some thinking to get the asynchronous stops to work correctly."

            Assignee:
            Unassigned
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: