From 8cb18e9eb2fa08c5e679fc549fd4a2fbe7913143 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 28 Dec 2022 19:05:48 +0000 Subject: [PATCH] fix a typo that was breaking lsl http service, and other things --- OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 5939b17cb8..e852e62d15 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs @@ -1068,7 +1068,7 @@ namespace OpenSim.Framework.Servers.HttpServer if(m_pollHandlers.TryGetValue(handlerKey, out oServiceEventArgs)) return true; - if(m_pollHandlersVarPath.IsEmpty && handlerKey.Length >= 45) + if(!m_pollHandlersVarPath.IsEmpty && handlerKey.Length >= 45) { // tuned for lsl requests, the only ones that should reach this, so be strict (/lslhttp/uuid.ToString()) int indx = handlerKey.IndexOf('/', 44);