aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Servers/BaseHttpServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.Servers/BaseHttpServer.cs')
-rw-r--r--OpenSim.Servers/BaseHttpServer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim.Servers/BaseHttpServer.cs b/OpenSim.Servers/BaseHttpServer.cs
index bd5eed4..a14e5c3 100644
--- a/OpenSim.Servers/BaseHttpServer.cs
+++ b/OpenSim.Servers/BaseHttpServer.cs
@@ -155,7 +155,7 @@ namespace OpenSim.Servers
155 155
156 public virtual void HandleRequest(Object stateinfo) 156 public virtual void HandleRequest(Object stateinfo)
157 { 157 {
158 try { 158 try {
159 HttpListenerContext context = (HttpListenerContext)stateinfo; 159 HttpListenerContext context = (HttpListenerContext)stateinfo;
160 160
161 HttpListenerRequest request = context.Request; 161 HttpListenerRequest request = context.Request;
@@ -212,9 +212,9 @@ namespace OpenSim.Servers
212 response.SendChunked = false; 212 response.SendChunked = false;
213 response.ContentLength64 = buffer.Length; 213 response.ContentLength64 = buffer.Length;
214 output.Write(buffer, 0, buffer.Length); 214 output.Write(buffer, 0, buffer.Length);
215 output.Close(); 215 output.Close();
216 } catch (Exception e) { 216 } catch (Exception e) {
217 Console.WriteLine(e.ToString()); 217 Console.WriteLine(e.ToString());
218 } 218 }
219 } 219 }
220 220