Bug 55504 - Proxy incorrectly issues CONNECT requests when browser prompts for certificate override
Summary: Proxy incorrectly issues CONNECT requests when browser prompts for certificat...
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.9
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:55 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3216