You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2013/12/09 23:56:12 UTC
svn commit: r1549702 - in /jmeter/trunk: bin/hc.parameters
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
xdocs/changes.xml
Author: pmouawad
Date: Mon Dec 9 22:56:12 2013
New Revision: 1549702
URL: http://svn.apache.org/r1549702
Log:
Bug 55865 - Performance :Disable stale check by default in HttpClient 4 and 3.1
Bugzilla Id: 55865
Modified:
jmeter/trunk/bin/hc.parameters
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
jmeter/trunk/xdocs/changes.xml
Modified: jmeter/trunk/bin/hc.parameters
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/hc.parameters?rev=1549702&r1=1549701&r2=1549702&view=diff
==============================================================================
--- jmeter/trunk/bin/hc.parameters (original)
+++ jmeter/trunk/bin/hc.parameters Mon Dec 9 22:56:12 2013
@@ -40,3 +40,6 @@
#http.socket.timeout$Integer=10000
#http.protocol.reject-relative-redirect$Boolean=true
+
+# Default value since JMeter 2.10.1
+#http.connection.stalecheck$Boolean=false
\ No newline at end of file
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=1549702&r1=1549701&r2=1549702&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 Dec 9 22:56:12 2013
@@ -175,6 +175,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);
DefaultHttpClient.setDefaultHttpParams(DEFAULT_HTTP_PARAMS);
// Process Apache HttpClient parameters file
Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1549702&r1=1549701&r2=1549702&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Mon Dec 9 22:56:12 2013
@@ -209,6 +209,7 @@ A workaround is to use a Java 7 update 4
<li><bugzilla>55852</bugzilla> - Be more lenient in parsing when charset value is surrounded with single quotes</li>
<li><bugzilla>55857</bugzilla> - Performance : AbstractProperty should test for emptiness to avoid Exception throwing</li>
<li><bugzilla>55858</bugzilla> - Startup Performance : On Startup, BeanInfoSupport should test for key availability instead of throwing</li>
+<li><bugzilla>55865</bugzilla> - Performance :Disable stale check by default in HttpClient 4 and 3.1</li>
</ul>
<ch_section>Non-functional changes</ch_section>