diff options
author | MW | 2007-05-15 14:54:53 +0000 |
---|---|---|
committer | MW | 2007-05-15 14:54:53 +0000 |
commit | f41e5343c5568ba27893551716af9e578a81dfbe (patch) | |
tree | f25017fd937029c18099e01bff09aa57279ed4c7 /OpenSim.Servers/BaseHttpServer.cs | |
parent | provide ready-to-eat attributes parsed from byte array (diff) | |
download | opensim-SC-f41e5343c5568ba27893551716af9e578a81dfbe.zip opensim-SC-f41e5343c5568ba27893551716af9e578a81dfbe.tar.gz opensim-SC-f41e5343c5568ba27893551716af9e578a81dfbe.tar.bz2 opensim-SC-f41e5343c5568ba27893551716af9e578a81dfbe.tar.xz |
updated Build/project files to include the new projects and new files.
Improved the enable neighbours code (Simclient thread should no longer sleep for 3 seconds for each neighbour).
Diffstat (limited to 'OpenSim.Servers/BaseHttpServer.cs')
-rw-r--r-- | OpenSim.Servers/BaseHttpServer.cs | 8 |
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 | ||