diff options
author | Diva Canto | 2011-04-30 18:08:48 -0700 |
---|---|---|
committer | Diva Canto | 2011-04-30 18:08:48 -0700 |
commit | d4323dd7530734ed2c35138722ed8c9c01d53d4e (patch) | |
tree | da66c0878ba6cc359eec22a2fdd87415835490d5 | |
parent | Removed XXX Debug. Increased ReadWriteTimeout on ServiceOSDRequest, because i... (diff) | |
download | opensim-SC_OLD-d4323dd7530734ed2c35138722ed8c9c01d53d4e.zip opensim-SC_OLD-d4323dd7530734ed2c35138722ed8c9c01d53d4e.tar.gz opensim-SC_OLD-d4323dd7530734ed2c35138722ed8c9c01d53d4e.tar.bz2 opensim-SC_OLD-d4323dd7530734ed2c35138722ed8c9c01d53d4e.tar.xz |
Increased Timeout to 30 secs.
-rw-r--r-- | OpenSim/Framework/WebUtil.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index f6fed33..ac0828b 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -142,17 +142,17 @@ namespace OpenSim.Framework | |||
142 | /// </summary> | 142 | /// </summary> |
143 | public static OSDMap PutToService(string url, OSDMap data) | 143 | public static OSDMap PutToService(string url, OSDMap data) |
144 | { | 144 | { |
145 | return ServiceOSDRequest(url,data,"PUT",10000); | 145 | return ServiceOSDRequest(url,data,"PUT",30000); |
146 | } | 146 | } |
147 | 147 | ||
148 | public static OSDMap PostToService(string url, OSDMap data) | 148 | public static OSDMap PostToService(string url, OSDMap data) |
149 | { | 149 | { |
150 | return ServiceOSDRequest(url,data,"POST",10000); | 150 | return ServiceOSDRequest(url,data,"POST",30000); |
151 | } | 151 | } |
152 | 152 | ||
153 | public static OSDMap GetFromService(string url) | 153 | public static OSDMap GetFromService(string url) |
154 | { | 154 | { |
155 | return ServiceOSDRequest(url,null,"GET",10000); | 155 | return ServiceOSDRequest(url,null,"GET",30000); |
156 | } | 156 | } |
157 | 157 | ||
158 | public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout) | 158 | public static OSDMap ServiceOSDRequest(string url, OSDMap data, string method, int timeout) |