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

HTTP request hangs if SSL context is invalid

    Details

      Description

      Reproduce steps:
      1. Initiate a HttpClient with a SSL context for server1
      2. Try to connect with server2 with https, either HTTP 1.1 or 2.

      Both send or sendAsync will hang there. In my opinion, it is necessary to throw a suitable exception with helpful information.

      I will attach a webrev and corresponding stacktraces.

        Attachments

          Activity

            People

            • Assignee:
              chegar Chris Hegarty
              Reporter:
              xiaofeya Xiaofeng Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: