jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1528919 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
Date Thu, 03 Oct 2013 16:23:57 GMT
Author: sebb
Date: Thu Oct  3 16:23:57 2013
New Revision: 1528919

URL: http://svn.apache.org/r1528919
Log:
The CONNECT request parameter is a host[:port], not a URI, so skip any attempt to adjust it

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java?rev=1528919&r1=1528918&r2=1528919&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java
Thu Oct  3 16:23:57 2013
@@ -171,6 +171,7 @@ public class HttpRequestHdr {
         // SSL connection
         if (getMethod().startsWith(HTTPConstants.CONNECT)) {
             paramHttps = url;
+            return; // Don't try to adjust the host name
         }
         /* The next line looks odd, but proxied HTTP requests look like:
          * GET http://www.apache.org/foundation/ HTTP/1.1



Mime
View raw message