United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6365587 Proxy-Connection header sent through tunnel
6365587 : Proxy-Connection header sent through tunnel

Details
Type:
Bug
Submit Date:
2005-12-20
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
core-libs
OS:
generic,windows_xp,windows_2000
Sub-Component:
java.net
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0,5.0u2,5.0u20
Fixed Versions:
7

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:

Sub Tasks

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.

                                    

Comments
EVALUATION

changeset:
  http://hg.openjdk.java.net/jdk7/tl/jdk/rev/c96d6cb31723
                                     
2010-02-23
EVALUATION

see description
                                     
2006-04-04



Hardware and Software, Engineered to Work Together