mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
reenqueue poll events while conn is open, and not expired
This commit is contained in:
@@ -277,7 +277,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
try
|
||||
{
|
||||
req.DoHTTPGruntWork(m_server, responsedata);
|
||||
byContextDequeue(req);
|
||||
if(req.HttpContext.CanSend() && req.PollServiceArgs.Type == PollServiceEventArgs.EventType.Poll
|
||||
&& (Environment.TickCount - req.RequestTime) > req.PollServiceArgs.TimeOutms)
|
||||
ReQueueEvent(req);
|
||||
else
|
||||
byContextDequeue(req);
|
||||
}
|
||||
catch (ObjectDisposedException) // Browser aborted before we could read body, server closed the stream
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user