Bug 55504 - Proxy incorrectly issues CONNECT requests when browser prompts for certificate override
Proxy incorrectly issues CONNECT requests when browser prompts for certificat...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: HTTP
2.9
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-29 19:18 UTC by Sebb
Modified: 2013-08-29 19:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2013-08-29 19:18:48 UTC
When using the proxy certificate, the browser user has to agree to accept the certificate temporarily.

When this happens, the browser does respond to the initial SSL exchange with any data - it is waiting for the user.

The empty response parses OK, but does not (re)intialise any fields.
As the parse uses the original request instance, the original CONNECT request remains, and is then processed as if it were the next request from the browser.

The code should ignore an empty response following transfer to SSL, and wait for the next request from the browser.
Comment 1 Sebb 2013-08-29 19:53:13 UTC
URL: http://svn.apache.org/r1518784
Log:
Proxy incorrectly issues CONNECT requests when browser prompts for certificate override
Bugzilla Id: 55504

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
    jmeter/trunk/xdocs/changes.xml