HTTPServer: Attempt to catch more errors

This commit is contained in:
Lion Kortlepel
2022-04-28 14:04:54 +02:00
parent 0761036c8c
commit 0979c8b1e4
4 changed files with 20 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ private:
std::queue<std::string> mPacketsSync;
std::unordered_map<std::string, std::string> mIdentifiers;
bool mIsGuest = false;
std::mutex mVehicleDataMutex;
mutable std::mutex mVehicleDataMutex;
TSetOfVehicleData mVehicleData;
std::string mName = "Unknown Client";
SOCKET mSocket[2] { SOCKET(0), SOCKET(0) };