diff options
Diffstat (limited to '')
-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 85b19c0..251a8ad 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -1731,6 +1731,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1731 | 1731 | ||
1732 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events | 1732 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events |
1733 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); | 1733 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); |
1734 | m_PollServiceManager.Start(); | ||
1734 | HTTPDRunning = true; | 1735 | HTTPDRunning = true; |
1735 | 1736 | ||
1736 | //HttpListenerContext context; | 1737 | //HttpListenerContext context; |
@@ -1781,6 +1782,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1781 | HTTPDRunning = false; | 1782 | HTTPDRunning = false; |
1782 | try | 1783 | try |
1783 | { | 1784 | { |
1785 | m_PollServiceManager.Stop(); | ||
1786 | |||
1784 | m_httpListener2.ExceptionThrown -= httpServerException; | 1787 | m_httpListener2.ExceptionThrown -= httpServerException; |
1785 | //m_httpListener2.DisconnectHandler = null; | 1788 | //m_httpListener2.DisconnectHandler = null; |
1786 | 1789 | ||