mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix a bug Arthur reported. Some critical Peer structures are not protected
against races caused by concurrent reading from and writing to the SSL connection and access to Peer variables like mDetaching, mSendingPacket, and so on.
This commit is contained in:
@@ -58,6 +58,7 @@ private:
|
||||
|
||||
protected:
|
||||
|
||||
boost::recursive_mutex ioMutex;
|
||||
std::vector<uint8_t> mReadbuf;
|
||||
std::list<PackedMessage::pointer> mSendQ;
|
||||
PackedMessage::pointer mSendingPacket;
|
||||
|
||||
Reference in New Issue
Block a user