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 {