mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
session enforces client masking
This commit is contained in:
@@ -499,6 +499,12 @@ void session::extract_payload() {
|
||||
}
|
||||
|
||||
void session::write_frame() {
|
||||
if (!is_server()) {
|
||||
m_write_frame.set_masked(true); // client must mask frames
|
||||
}
|
||||
|
||||
m_write_frame.process_payload();
|
||||
|
||||
std::vector<boost::asio::mutable_buffer> data;
|
||||
|
||||
data.push_back(
|
||||
|
||||
Reference in New Issue
Block a user