fix initialization order in HttpManager constructor

This commit is contained in:
Axel Cocat
2021-08-06 17:11:28 +02:00
parent 84f201b6b0
commit d7260a0811

View File

@@ -31,10 +31,10 @@ HttpResponse::HttpResponse(int funcRef, int statusCode, const std::string& body,
HttpManager::HttpManager() HttpManager::HttpManager()
: httpWorkQueue(16), : httpWorkQueue(16),
httpResponseQueue(16), httpResponseQueue(16),
httpCondVar(),
httpCondVarMutex(),
startedHttpWorkerThread(false), startedHttpWorkerThread(false),
httpCancelationToken(false), httpCancelationToken(false),
httpCondVar(),
httpCondVarMutex(),
parseUrlRegex("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?") parseUrlRegex("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?")
{ {
StartHttpWorker(); StartHttpWorker();