Author: sebb
Date: Mon Apr 20 20:25:24 2009
New Revision: 766855
URL: http://svn.apache.org/viewvc?rev=766855&view=rev
Log:
Hopefully savedConn setup is now fixed.
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
URL:
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java?rev=766855&r1=766854&r2=766855&view=diff
==============================================================================
---
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
(original)
+++
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
Mon Apr 20 20:25:24 2009
@@ -217,7 +217,6 @@
// works OK even if ContentEncoding is null
boolean gzipped = ENCODING_GZIP.equals(conn.getContentEncoding());
- savedConn = conn;
try {
if (gzipped) {
in = new BufferedInputStream(new
GZIPInputStream(conn.getInputStream()));
@@ -255,8 +254,6 @@
log.error("Cause: "+cause);
}
in = new BufferedInputStream(conn.getErrorStream());
- } finally {
- savedConn = null;
}
return readResponse(res, in, contentLength);
}
@@ -471,8 +468,6 @@
// Request sent. Now get the response:
byte[] responseData = readResponse(conn, res);
- savedConn = null;
-
res.sampleEnd();
// Done with the sampling proper.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]