Core/Threading: Fixed possible data races after making auth queries async by moving their processing to boost::asio::io_service::run threads

(cherry picked from commit f6bc87fe5df8b60ca0bf3a35f61305fd780a7e7d)
This commit is contained in:
Shauren committed 2015-10-31 15:56:02 +01:00
1 parent b95648ae27
commit 97fe228334
5 files changed
+13 -9

No files matched your search

+2
View File
@@ -160,6 +160,8 @@ protected:
MessageBuffer _writeBuffer;
#endif
boost::asio::io_service& io_service() { return _socket.get_io_service(); }
private:
void ReadHandlerInternal(boost::system::error_code error, size_t transferredBytes)
{