projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[System.Net.Http] Updates range check from 3741d16503a973a99c724bdab9a255a5f07a3637
[mono.git]
/
mcs
/
class
/
System.Net.Http
/
System.Net.Http
/
HttpClient.cs
diff --git
a/mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs
b/mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs
index c9fd2354abe136be56708c73b9a2bf30ff6f2098..3880d418dca1fd5c6821f258429359df1862da73 100644
(file)
--- a/
mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs
+++ b/
mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs
@@
-96,7
+96,7
@@
namespace System.Net.Http
return timeout;
}
set {
return timeout;
}
set {
- if (value != System.Threading.Timeout.InfiniteTimeSpan && (value <= TimeSpan.Zero || value.T
ick
s > int.MaxValue))
+ if (value != System.Threading.Timeout.InfiniteTimeSpan && (value <= TimeSpan.Zero || value.T
otalMillisecond
s > int.MaxValue))
throw new ArgumentOutOfRangeException ();
timeout = value;
throw new ArgumentOutOfRangeException ();
timeout = value;