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 2014/02/24 01:49:56 UTC
svn commit: r1571122 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Author: sebb
Date: Mon Feb 24 00:49:56 2014
New Revision: 1571122
URL: http://svn.apache.org/r1571122
Log:
Use HC Constant for string
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java?rev=1571122&r1=1571121&r2=1571122&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java Mon Feb 24 00:49:56 2014
@@ -183,7 +183,7 @@ public class HTTPHC4Impl extends HTTPHCA
log.info("HTTP request retry count = "+RETRY_COUNT);
DEFAULT_HTTP_PARAMS = new SyncBasicHttpParams(); // Could we drop the Sync here?
- DEFAULT_HTTP_PARAMS.setBooleanParameter("http.connection.stalecheck", false);
+ DEFAULT_HTTP_PARAMS.setBooleanParameter(CoreConnectionPNames.STALE_CONNECTION_CHECK, false);
DefaultHttpClient.setDefaultHttpParams(DEFAULT_HTTP_PARAMS);
// Process Apache HttpClient parameters file