fix lsl http url pool service not beeing removed

0.9.1.0-post-fixes
UbitUmarov 2018-11-02 02:21:34 +00:00
parent 1ea5116f00
commit 0aff4a2914
1 changed files with 2 additions and 3 deletions

View File

@ -492,13 +492,12 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
} }
} }
protected void RemoveUrl(UrlData data) protected void RemoveUrl(UrlData data)
{ {
if (data.isSsl) if (data.isSsl)
m_HttpsServer.RemoveHTTPHandler("", "/lslhttps/"+data.urlcode.ToString()+"/"); m_HttpsServer.RemovePollServiceHTTPHandler("", "/lslhttps/"+data.urlcode.ToString()+"/");
else else
m_HttpServer.RemoveHTTPHandler("", "/lslhttp/"+data.urlcode.ToString()+"/"); m_HttpServer.RemovePollServiceHTTPHandler("", "/lslhttp/"+data.urlcode.ToString()+"/");
} }
protected Hashtable NoEvents(UUID requestID, UUID sessionID) protected Hashtable NoEvents(UUID requestID, UUID sessionID)