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

Proxy-Connection header sent through tunnel

XMLWordPrintable

    • b85
    • generic, x86
    • generic, windows_2000, windows_xp
    • Not verified

        Proxy-Connection header is being sent to the http server over an SSL tunnel. The Proxy-Connection header is only of interest to the proxy. You can see in our sun.net.www.protocol.http.HttpURLConnection.writeRequests() that we do not check if we are in a tunnel situation before setting this header.

        When tunneling through a proxy then the proxy is essentially just forwarding the data and does not interpret it. We do not need to set this header and may cause issues with http servers that do not interpret it correctly.

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: