From 130f6f164af90fba6b90f6993406d77edc9b3df3 Mon Sep 17 00:00:00 2001 From: acetone Date: Wed, 30 Nov 2022 18:21:17 +0300 Subject: [PATCH] hotfix3 --- httpserver.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/httpserver.cpp b/httpserver.cpp index e18009e..381b3ff 100644 --- a/httpserver.cpp +++ b/httpserver.cpp @@ -929,8 +929,6 @@ void HttpServer::writeRegularPage(QTcpSocket *socket, QString &urlPath, bool isH if (searchMtx.tryLock()) { - QMutexLocker lock (&searchMtx); - consoleLog("Search request (" + server + "): " + searchRequest); QStringList paths; @@ -1281,6 +1279,7 @@ void HttpServer::writeRegularPage(QTcpSocket *socket, QString &urlPath, bool isH lastWbr = i; } } + searchMtx.unlock(); } // searchMtx.tryLock() else {