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

SSLSocket closes socket both socket endpoints on a SocketTimeoutException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      11
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        SSLSocket is behaving very different since JDK11, this seems to be due to the introduction of TLS1.3, JEP332 and JDK-8196584.

        The problem seems to be SSLSocket in JDK11 when it receives a SocketTImeoutException will close both the endpoints and the socket, thereby disallowing retries by the peer.

        However, in JDK8 we have noticed that in such cases, the end-point is not closed, and allows further retries from the client.

        This seems to be an incompatible behavior change and is seriously blocking our development efforts.

        Reproducer attached

        Debug traces are below.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                ksrini Kumar Srinivasan
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: