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

java.net.SocketInputStream.socketRead0 spin with SO_TIMEOUT set

XMLWordPrintable

      Submitter has created a scenario where mutiple threads each create a
      socket with SO_TIMEOUT set. Only one binds to one ServerSocket.

      It's assumed that the remaining sockets should throw a
      SocketTimeoutException.
      On windows, it seems like the clients stay in the socketRead0 state.

      This was reproduced on windows. Unix seems to be ok. I haven't been able to
      reproduce yet but am logging this bug for reference. Will attach a testcase.
       

            coffeys Sean Coffey
            asaha Abhijit Saha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: