forked from boostorg/beast
Fix masking on continuation frames
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Version 164:
|
||||||
|
|
||||||
|
* Fix masking on continuation frames
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 163:
|
Version 163:
|
||||||
|
|
||||||
* Tidy up calls to post()
|
* Tidy up calls to post()
|
||||||
|
@@ -125,7 +125,7 @@ mask_inplace(boost::asio::mutable_buffer& b, prepared_key& key)
|
|||||||
{
|
{
|
||||||
for(std::size_t i = 0; i < n; ++i)
|
for(std::size_t i = 0; i < n; ++i)
|
||||||
p[i] ^= mask[i];
|
p[i] ^= mask[i];
|
||||||
rol(key, 4 - n);
|
rol(key, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user