You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2013/08/29 20:13:26 UTC
svn commit: r1518744 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
Author: sebb
Date: Thu Aug 29 18:13:26 2013
New Revision: 1518744
URL: http://svn.apache.org/r1518744
Log:
Fix comment
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java?rev=1518744&r1=1518743&r2=1518744&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java Thu Aug 29 18:13:26 2013
@@ -178,10 +178,10 @@ public class Proxy extends Thread {
String[] param = new String[0];
log.debug(port + "====================================================================");
try {
- // Now, parse only first line
+ // Now, parse initial request (in case it is a CONNECT request)
byte[] ba = request.parse(new BufferedInputStream(clientSocket.getInputStream()));
if (log.isDebugEnabled()) {
- log.debug(port + "First line: " + new String(ba));
+ log.debug(port + "Initial request: " + new String(ba));
}
outStreamClient = clientSocket.getOutputStream();