make sure we drop requests if DoHTTPGruntWork fails
parent
bad00670a9
commit
fcb435deb4
|
@ -244,11 +244,13 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
try
|
||||
{
|
||||
req.DoHTTPGruntWork(m_server, responsedata);
|
||||
byContextDequeue(req);
|
||||
}
|
||||
catch (ObjectDisposedException) // Browser aborted before we could read body, server closed the stream
|
||||
catch (ObjectDisposedException)
|
||||
{
|
||||
// Ignore it, no need to reply
|
||||
}
|
||||
finally
|
||||
{
|
||||
byContextDequeue(req);
|
||||
}
|
||||
return null;
|
||||
}, null);
|
||||
|
@ -263,12 +265,15 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
{
|
||||
req.DoHTTPGruntWork(m_server,
|
||||
req.PollServiceArgs.NoEvents(req.RequestID, req.PollServiceArgs.Id));
|
||||
byContextDequeue(req);
|
||||
}
|
||||
catch (ObjectDisposedException)
|
||||
{
|
||||
// Ignore it, no need to reply
|
||||
}
|
||||
finally
|
||||
{
|
||||
byContextDequeue(req);
|
||||
}
|
||||
return null;
|
||||
}, null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue