Bug 55504

Summary: Proxy incorrectly issues CONNECT requests when browser prompts for certificate override
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

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