You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jakarta.apache.org by sebb <se...@gmail.com> on 2011/09/23 20:04:01 UTC

Re: svn commit: r1174891 - in /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler: HTTPHC3Impl.java HTTPHC4Impl.java

On 23 September 2011 18:15,  <mi...@apache.org> wrote:
> Author: milamber
> Date: Fri Sep 23 17:15:15 2011
> New Revision: 1174891
>
> URL: http://svn.apache.org/viewvc?rev=1174891&view=rev
> Log:
> Change default retry count to 1

Good catch! Sorry, trying to do too much at once, forgot to change the
most important files!

> Modified:
>    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
>    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
>
> Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java
> URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java?rev=1174891&r1=1174890&r2=1174891&view=diff
> ==============================================================================
> --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java (original)
> +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java Fri Sep 23 17:15:15 2011
> @@ -89,8 +89,8 @@ public class HTTPHC3Impl extends HTTPHCA
>
>     private static final Logger log = LoggingManager.getLoggerForClass();
>
> -    /** retry count to be used (default 3); 0 = disable retries */
> -    private static final int RETRY_COUNT = JMeterUtils.getPropDefault("httpclient3.retrycount", 3);
> +    /** retry count to be used (default 1); 0 = disable retries */
> +    private static final int RETRY_COUNT = JMeterUtils.getPropDefault("httpclient3.retrycount", 1);
>
>     private static final String HTTP_AUTHENTICATION_PREEMPTIVE = "http.authentication.preemptive"; // $NON-NLS-1$
>
>
> Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
> URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java?rev=1174891&r1=1174890&r2=1174891&view=diff
> ==============================================================================
> --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java (original)
> +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java Fri Sep 23 17:15:15 2011
> @@ -111,8 +111,8 @@ public class HTTPHC4Impl extends HTTPHCA
>
>     private static final Logger log = LoggingManager.getLoggerForClass();
>
> -    /** retry count to be used; defaults to 0 = disable retries */
> -    private static final int RETRY_COUNT = JMeterUtils.getPropDefault("httpclient4.retrycount", 0);
> +    /** retry count to be used (default 1); 0 = disable retries */
> +    private static final int RETRY_COUNT = JMeterUtils.getPropDefault("httpclient4.retrycount", 1);
>
>     private static final String CONTEXT_METRICS = "jmeter_metrics"; // TODO hack, to be removed later
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: notifications-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: dev-help@jakarta.apache.org