aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/RestSessionService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/RestSessionService.cs')
-rw-r--r--OpenSim/Framework/Servers/RestSessionService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/RestSessionService.cs b/OpenSim/Framework/Servers/RestSessionService.cs
index d088e9a..958ee26 100644
--- a/OpenSim/Framework/Servers/RestSessionService.cs
+++ b/OpenSim/Framework/Servers/RestSessionService.cs
@@ -126,6 +126,7 @@ namespace OpenSim.Framework.Servers
126 WebRequest request = WebRequest.Create(requestUrl); 126 WebRequest request = WebRequest.Create(requestUrl);
127 request.Method = verb; 127 request.Method = verb;
128 request.ContentType = "text/xml"; 128 request.ContentType = "text/xml";
129 request.Timeout = 10000;
129 130
130 MemoryStream buffer = new MemoryStream(); 131 MemoryStream buffer = new MemoryStream();
131 132
@@ -144,6 +145,7 @@ namespace OpenSim.Framework.Servers
144 145
145 Stream requestStream = request.GetRequestStream(); 146 Stream requestStream = request.GetRequestStream();
146 requestStream.Write(buffer.ToArray(), 0, length); 147 requestStream.Write(buffer.ToArray(), 0, length);
148 requestStream.Close();
147 // IAsyncResult result = request.BeginGetResponse(AsyncCallback, request); 149 // IAsyncResult result = request.BeginGetResponse(AsyncCallback, request);
148 request.BeginGetResponse(AsyncCallback, request); 150 request.BeginGetResponse(AsyncCallback, request);
149 } 151 }