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
This commit is contained in:
gareth
2007-04-13 15:14:21 +00:00
parent cc53580ba4
commit dd5f4abdb9
4 changed files with 56 additions and 41 deletions

View File

@@ -154,6 +154,7 @@ namespace OpenSim.Servers
public virtual void HandleRequest(Object stateinfo)
{
try {
HttpListenerContext context = (HttpListenerContext)stateinfo;
HttpListenerRequest request = context.Request;
@@ -210,7 +211,10 @@ namespace OpenSim.Servers
response.SendChunked = false;
response.ContentLength64 = buffer.Length;
output.Write(buffer, 0, buffer.Length);
output.Close();
output.Close();
} catch (Exception e) {
Console.WriteLine(e.ToString());
}
}
public void Start()