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 cf1c753..b24336d 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -1750,6 +1750,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1750 | 1750 | ||
1751 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events | 1751 | // Long Poll Service Manager with 3 worker threads a 25 second timeout for no events |
1752 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); | 1752 | m_PollServiceManager = new PollServiceRequestManager(this, 3, 25000); |
1753 | m_PollServiceManager.Start(); | ||
1753 | HTTPDRunning = true; | 1754 | HTTPDRunning = true; |
1754 | 1755 | ||
1755 | //HttpListenerContext context; | 1756 | //HttpListenerContext context; |
@@ -1800,6 +1801,8 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1800 | HTTPDRunning = false; | 1801 | HTTPDRunning = false; |
1801 | try | 1802 | try |
1802 | { | 1803 | { |
1804 | m_PollServiceManager.Stop(); | ||
1805 | |||
1803 | m_httpListener2.ExceptionThrown -= httpServerException; | 1806 | m_httpListener2.ExceptionThrown -= httpServerException; |
1804 | //m_httpListener2.DisconnectHandler = null; | 1807 | //m_httpListener2.DisconnectHandler = null; |
1805 | 1808 | ||