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.
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
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3216