diff options
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index 37ecd46..3b73520 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -36,6 +36,7 @@ using System.Net; | |||
36 | using System.Net.Security; | 36 | using System.Net.Security; |
37 | using System.Reflection; | 37 | using System.Reflection; |
38 | using System.Text; | 38 | using System.Text; |
39 | using System.Threading; | ||
39 | using System.Web; | 40 | using System.Web; |
40 | using System.Xml; | 41 | using System.Xml; |
41 | using System.Xml.Serialization; | 42 | using System.Xml.Serialization; |
@@ -1091,7 +1092,7 @@ namespace OpenSim.Framework | |||
1091 | /// </returns> | 1092 | /// </returns> |
1092 | public static TResponse MakeRequest<TRequest, TResponse>(string verb, string requestUrl, TRequest obj) | 1093 | public static TResponse MakeRequest<TRequest, TResponse>(string verb, string requestUrl, TRequest obj) |
1093 | { | 1094 | { |
1094 | return MakeRequest<TRequest, TResponse>(verb, requestUrl, obj, 0); | 1095 | return MakeRequest<TRequest, TResponse>(verb, requestUrl, obj, Timeout.Infinite); |
1095 | } | 1096 | } |
1096 | 1097 | ||
1097 | /// <summary> | 1098 | /// <summary> |
@@ -1100,7 +1101,7 @@ namespace OpenSim.Framework | |||
1100 | /// <param name="verb"></param> | 1101 | /// <param name="verb"></param> |
1101 | /// <param name="requestUrl"></param> | 1102 | /// <param name="requestUrl"></param> |
1102 | /// <param name="obj"></param> | 1103 | /// <param name="obj"></param> |
1103 | /// <param name="pTimeout">Request timeout in milliseconds.</param> | 1104 | /// <param name="pTimeout">Request timeout in milliseconds. Timeout.Infinite indicates no timeout.</param> |
1104 | /// <returns> | 1105 | /// <returns> |
1105 | /// The response. If there was an internal exception or the request timed out, | 1106 | /// The response. If there was an internal exception or the request timed out, |
1106 | /// then the default(TResponse) is returned. | 1107 | /// then the default(TResponse) is returned. |
@@ -1116,7 +1117,7 @@ namespace OpenSim.Framework | |||
1116 | /// <param name="verb"></param> | 1117 | /// <param name="verb"></param> |
1117 | /// <param name="requestUrl"></param> | 1118 | /// <param name="requestUrl"></param> |
1118 | /// <param name="obj"></param> | 1119 | /// <param name="obj"></param> |
1119 | /// <param name="pTimeout">Request timeout in milliseconds.</param> | 1120 | /// <param name="pTimeout">Request timeout in milliseconds. Timeout.Infinite indicates no timeout.</param> |
1120 | /// <param name="maxConnections"></param> | 1121 | /// <param name="maxConnections"></param> |
1121 | /// <returns> | 1122 | /// <returns> |
1122 | /// The response. If there was an internal exception or the request timed out, | 1123 | /// The response. If there was an internal exception or the request timed out, |