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

Proxy-Connection header sent through tunnel

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b85
    • CPU:
      generic, x86
    • OS:
      generic, windows_2000, windows_xp
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: