aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-18 19:52:07 +0000
committerJustin Clarke Casey2008-03-18 19:52:07 +0000
commit78e24380c8147e897072023f1dd76c895a42335d (patch)
treeb8582a939da17fff5296b2522599adc568f61bd5 /OpenSim/Framework
parent* Just inserting some exploratory comments into inventory code (diff)
downloadopensim-SC_OLD-78e24380c8147e897072023f1dd76c895a42335d.zip
opensim-SC_OLD-78e24380c8147e897072023f1dd76c895a42335d.tar.gz
opensim-SC_OLD-78e24380c8147e897072023f1dd76c895a42335d.tar.bz2
opensim-SC_OLD-78e24380c8147e897072023f1dd76c895a42335d.tar.xz
* Stop grid inventory network failures crashing the client session
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs b/OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs
index bf51d50..1b8e4ea 100644
--- a/OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs
+++ b/OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs
@@ -36,6 +36,16 @@ namespace OpenSim.Framework.Servers
36{ 36{
37 public class SynchronousRestObjectPoster 37 public class SynchronousRestObjectPoster
38 { 38 {
39 /// <summary>
40 /// Perform a synchronous REST request.
41 /// </summary>
42 /// <param name="verb"></param>
43 /// <param name="requestUrl"></param>
44 /// <param name="obj"> </param>
45 /// <returns></returns>
46 ///
47 /// <exception cref="System.Net.WebException">Thrown if we encounter a network issue while posting
48 /// the request. You'll want to make sure you deal with this as they're not uncommon</exception>
39 public static TResponse BeginPostObject<TRequest, TResponse>(string verb, string requestUrl, TRequest obj) 49 public static TResponse BeginPostObject<TRequest, TResponse>(string verb, string requestUrl, TRequest obj)
40 { 50 {
41 Type type = typeof (TRequest); 51 Type type = typeof (TRequest);