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

HttpServer::stop times out with zero inflight exchanges

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • 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."

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

              Created:
              Updated:
              Resolved: