Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1251)

Unified Diff: Src/GoogleApis/Apis/Http/ConfigurableMessageHandler.cs

Issue 12566043: Issue 369: Change default behavior of an HTTP request (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: Miceli review Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Src/GoogleApis/Apis/Http/BackOffHandler.cs ('k') | Src/GoogleApis/Apis/Services/BaseClientService.cs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Src/GoogleApis/Apis/Http/ConfigurableMessageHandler.cs
===================================================================
--- a/Src/GoogleApis/Apis/Http/ConfigurableMessageHandler.cs
b/Src/GoogleApis/Apis/Http/ConfigurableMessageHandler.cs
@@ -84,14 84,14 @@
#endregion
- /// <summary> Number of tries. Default is <c>10</c>. </summary>
- private int numTries = 10;
/// <summary> Number of tries. Default is <c>3</c>. </summary>
private int numTries = 3;
/// <summary>
/// Gets or sets the number of tries that will be allowed to execute. Retries occur as a result of either
/// <see cref="IHttpUnsuccessfulResponseHandler"/> or <see cref="IHttpExceptionHandler"/> which handles the
/// abnormal Http response or exception, before being terminated.
- /// Set <c>1</c> for not retrying requests. The default value is <c>10</c>".
/// Set <c>1</c> for not retrying requests. The default value is <c>3</c>".
/// </summary>
public int NumTries
{
@@ -100,7 100,7 @@
{
if (value > MaxAllowedNumTries || value < 1)
{
- throw new ArgumentOutOfRangeException("NumRetries");
throw new ArgumentOutOfRangeException("NumTries");
}
numTries = value;
}
« no previous file with comments | « Src/GoogleApis/Apis/Http/BackOffHandler.cs ('k') | Src/GoogleApis/Apis/Services/BaseClientService.cs » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b