jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1243683 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
Date Mon, 13 Feb 2012 20:45:40 GMT
Author: pmouawad
Date: Mon Feb 13 20:45:39 2012
New Revision: 1243683

URL: http://svn.apache.org/viewvc?rev=1243683&view=rev
Log:
rename method

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=1243683&r1=1243682&r2=1243683&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 Mon Feb
13 20:45:39 2012
@@ -430,7 +430,7 @@ public class Proxy extends Thread {
      */
     private void writeToClient(SampleResult res, OutputStream out, boolean forcedHTTPS) throws
IOException {
         try {
-            String responseHeaders = massageResponseHeaders(res, forcedHTTPS);
+            String responseHeaders = messageResponseHeaders(res, forcedHTTPS);
             out.write(responseHeaders.getBytes(SampleResult.DEFAULT_HTTP_ENCODING));
             out.write(CRLF_BYTES);
             out.write(res.getResponseData());
@@ -459,7 +459,7 @@ public class Proxy extends Thread {
      *
      * @return updated headers to be sent to client
      */
-    private String massageResponseHeaders(SampleResult res, boolean forcedHTTPS) {
+    private String messageResponseHeaders(SampleResult res, boolean forcedHTTPS) {
         String headers = res.getResponseHeaders();
         String [] headerLines=headers.split(NEW_LINE, 0); // drop empty trailing content
         int contentLengthIndex=-1;



Mime
View raw message