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

This commit is contained in:
Shauren
2015-06-21 02:13:08 +02:00
parent 4093eee19b
commit f6bc87fe5d
5 changed files with 21 additions and 13 deletions

View File

@@ -169,6 +169,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)
{