diff options
author | gareth | 2007-04-13 15:14:21 +0000 |
---|---|---|
committer | gareth | 2007-04-13 15:14:21 +0000 |
commit | dd5f4abdb9423dd767ccb1c8be310e40fdd1ad43 (patch) | |
tree | a9a3647fca57f49e00fed77006bd5379841f5828 /OpenSim.Servers | |
parent | aaaaaaarrrrrrrrrggggghhhhhhhh why oh why? (diff) | |
download | opensim-SC-dd5f4abdb9423dd767ccb1c8be310e40fdd1ad43.zip opensim-SC-dd5f4abdb9423dd767ccb1c8be310e40fdd1ad43.tar.gz opensim-SC-dd5f4abdb9423dd767ccb1c8be310e40fdd1ad43.tar.bz2 opensim-SC-dd5f4abdb9423dd767ccb1c8be310e40fdd1ad43.tar.xz |
Fixed weird XML/HTTP bugs
Can now update a sim profile at startup automatically! W00t!
Untested neighbours code (for sim crossings)
Didn't drink any red bull today :( Used liquid guarana extract + cola
Diffstat (limited to 'OpenSim.Servers')
-rw-r--r-- | OpenSim.Servers/BaseHttpServer.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim.Servers/BaseHttpServer.cs b/OpenSim.Servers/BaseHttpServer.cs index 0a123b7..bb8f0ad 100644 --- a/OpenSim.Servers/BaseHttpServer.cs +++ b/OpenSim.Servers/BaseHttpServer.cs | |||
@@ -154,6 +154,7 @@ namespace OpenSim.Servers | |||
154 | 154 | ||
155 | public virtual void HandleRequest(Object stateinfo) | 155 | public virtual void HandleRequest(Object stateinfo) |
156 | { | 156 | { |
157 | try { | ||
157 | HttpListenerContext context = (HttpListenerContext)stateinfo; | 158 | HttpListenerContext context = (HttpListenerContext)stateinfo; |
158 | 159 | ||
159 | HttpListenerRequest request = context.Request; | 160 | HttpListenerRequest request = context.Request; |
@@ -210,7 +211,10 @@ namespace OpenSim.Servers | |||
210 | response.SendChunked = false; | 211 | response.SendChunked = false; |
211 | response.ContentLength64 = buffer.Length; | 212 | response.ContentLength64 = buffer.Length; |
212 | output.Write(buffer, 0, buffer.Length); | 213 | output.Write(buffer, 0, buffer.Length); |
213 | output.Close(); | 214 | output.Close(); |
215 | } catch (Exception e) { | ||
216 | Console.WriteLine(e.ToString()); | ||
217 | } | ||
214 | } | 218 | } |
215 | 219 | ||
216 | public void Start() | 220 | public void Start() |