Fix masking on continuation frames

This commit is contained in:
Vinnie Falco
2018-03-09 07:51:33 -08:00
parent 6d560e3d41
commit c984f6c94d
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
Version 164:
* Fix masking on continuation frames
--------------------------------------------------------------------------------
Version 163:
* 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)
p[i] ^= mask[i];
rol(key, 4 - n);
rol(key, n);
}
}