diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 8a0340f..aa49343 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -1623,6 +1623,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1623 | 1623 | ||
1624 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events | 1624 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events |
1625 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); | 1625 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); |
1626 | m_PollServiceManager.Start(); | ||
1626 | HTTPDRunning = true; | 1627 | HTTPDRunning = true; |
1627 | 1628 | ||
1628 | //HttpListenerContext context; | 1629 | //HttpListenerContext context; |
@@ -1673,6 +1674,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1673 | HTTPDRunning = false; | 1674 | HTTPDRunning = false; |
1674 | try | 1675 | try |
1675 | { | 1676 | { |
1677 | m_PollServiceManager.Stop(); | ||
1678 | |||
1676 | m_httpListener2.ExceptionThrown -= httpServerException; | 1679 | m_httpListener2.ExceptionThrown -= httpServerException; |
1677 | //m_httpListener2.DisconnectHandler = null; | 1680 | //m_httpListener2.DisconnectHandler = null; |
1678 | 1681 | ||