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

java/net/httpclient/ManyRequests.java intermittent fails connection closed for reading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 26
    • core-libs
    • x86_64
    • linux

      Test java/net/httpclient/ManyRequests.java intermittent fails with fastdebug build on linux-x64. The test log snippet:

      Aug 20, 2025 4:14:38 AM jdk.internal.net.http.SocketTube signalClosed
      INFO: CHANNEL: Connection close signalled: connection closed locally (java.nio.channels.SocketChannel[connected local=/127.0.0.1:41194 remote=/127.0.0.1:36551])
      Aug 20, 2025 4:14:38 AM sun.net.httpserver.ServerImpl$Exchange run
      FINER: ServerImpl.Exchange
      java.io.IOException: connection closed for reading
      at jdk.httpserver/sun.net.httpserver.SSLStreams$EngineWrapper.recvAndUnwrap(SSLStreams.java:335)
      at jdk.httpserver/sun.net.httpserver.SSLStreams.recvData(SSLStreams.java:407)
      at jdk.httpserver/sun.net.httpserver.SSLStreams$InputStream.read(SSLStreams.java:528)
      at jdk.httpserver/sun.net.httpserver.SSLStreams$InputStream.read(SSLStreams.java:600)
      at jdk.httpserver/sun.net.httpserver.Request.readLine(Request.java:82)
      at jdk.httpserver/sun.net.httpserver.Request.<init>(Request.java:54)
      at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:736)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
      at java.base/java.lang.Thread.run(Thread.java:1474)

            jpai Jaikiran Pai
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: