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

RFC unconformity of HttpURLConnection with proxy

    XMLWordPrintable

Details

    • b14
    • Verified

    Backports

      Description

        JDK-8161016 fixes the behavior of HttpURLConnection when using a ProxySelector. The fixed code does not use a direct connection, but moreover it does not even retry to connect (before fixed, it does retry). This behavior does not conform to HTTP (RFC 7230), which says idempotent methods retry to connect.

        See: https://tools.ietf.org/html/rfc7231#section-4.2.2

        Attachments

          Issue Links

            Activity

              People

                rreddy Ravi Reddy
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: