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

HTTP request hangs if SSL context is invalid

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: