From 78e24380c8147e897072023f1dd76c895a42335d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 18 Mar 2008 19:52:07 +0000 Subject: * 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 --- OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Framework/Servers/SynchronousRestObjectPoster.cs') 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 { public class SynchronousRestObjectPoster { + /// + /// Perform a synchronous REST request. + /// + /// + /// + /// + /// + /// + /// Thrown if we encounter a network issue while posting + /// the request. You'll want to make sure you deal with this as they're not uncommon public static TResponse BeginPostObject(string verb, string requestUrl, TRequest obj) { Type type = typeof (TRequest); -- cgit v1.1