forked from boostorg/beast
Refactor read_op + fail_op
This commit is contained in:
1 parent
3652137718
commit
fa087e19f1
12 files changed
+456
-570
No files matched your search
@@ -251,7 +251,7 @@ close(close_reason const& cr, error_code& ec)
|
||||
rd_close_ = true;
|
||||
auto const mb = buffer_prefix(
|
||||
clamp(rd_.fh.len),
|
||||
rd_.buf.mutable_data());
|
||||
rd_.buf.data());
|
||||
if(rd_.fh.len > 0 && rd_.fh.mask)
|
||||
detail::mask_inplace(mb, rd_.key);
|
||||
detail::read_close(cr_, mb, code);
|
||||
|
||||
Reference in new issue
Block a user