mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
We have to dispatch RPCServer operations onto a strand, otherwise
an error while both a read and write are pending can crash.
This commit is contained in:
@@ -16,6 +16,7 @@ private:
|
||||
NetworkOPs* mNetOps;
|
||||
|
||||
AutoSocket mSocket;
|
||||
boost::asio::io_service::strand mStrand;
|
||||
|
||||
boost::asio::streambuf mLineBuffer;
|
||||
Blob mQueryVec;
|
||||
|
||||
Reference in New Issue
Block a user