Refactor read_op + fail_op

This commit is contained in:
Vinnie Falco committed 2017-08-14 15:40:13 -07:00
1 parent 3652137718
commit fa087e19f1
12 files changed
+456 -570

No files matched your search

+1 -1
View File
@@ -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);