mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Don't return end_of_stream on win32 file body writes
This commit is contained in:
@ -4,6 +4,7 @@ Version 126:
|
||||
* Update README.md
|
||||
* Update stream write documentation for end of stream changes
|
||||
* Tidy up unused variable warnings
|
||||
* Don't return end_of_stream on win32 file body writes
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@ -471,8 +471,6 @@ operator()(
|
||||
sr_.next(ec, null_lambda{});
|
||||
BOOST_ASSERT(! ec);
|
||||
BOOST_ASSERT(sr_.is_done());
|
||||
if(! sr_.keep_alive())
|
||||
ec = error::end_of_stream;
|
||||
}
|
||||
}
|
||||
h_(ec, bytes_transferred_);
|
||||
@ -544,8 +542,6 @@ write_some(
|
||||
sr.next(ec, detail::null_lambda{});
|
||||
BOOST_ASSERT(! ec);
|
||||
BOOST_ASSERT(sr.is_done());
|
||||
if(! sr.keep_alive())
|
||||
ec = error::end_of_stream;
|
||||
}
|
||||
return nNumberOfBytesToWrite;
|
||||
}
|
||||
|
Reference in New Issue
Block a user