forked from boostorg/beast
net::prepend is replaced with net::append
This commit is contained in:
1 parent
dadd1bc785
commit
aabd5b51d3
7 files changed
+23
-23
No files matched your search
@@ -14,6 +14,7 @@
|
||||
#include <boost/beast/core/buffer_traits.hpp>
|
||||
#include <boost/beast/core/buffers_prefix.hpp>
|
||||
#include <boost/beast/websocket/teardown.hpp>
|
||||
#include <boost/asio/append.hpp>
|
||||
#include <boost/asio/coroutine.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
@@ -325,7 +326,7 @@ public:
|
||||
: "basic_stream::async_write_some")));
|
||||
|
||||
net::dispatch(this->get_immediate_executor(),
|
||||
net::prepend(std::move(*this), ec, 0));
|
||||
net::append(std::move(*this), ec, 0));
|
||||
}
|
||||
|
||||
impl_->close();
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#include <boost/beast/core/read_size.hpp>
|
||||
#include <boost/beast/core/stream_traits.hpp>
|
||||
#include <boost/beast/core/detail/is_invocable.hpp>
|
||||
#include <boost/asio/append.hpp>
|
||||
#include <boost/asio/dispatch.hpp>
|
||||
#include <boost/asio/prepend.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
|
||||
namespace boost {
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
const auto ex = this->get_immediate_executor();
|
||||
return net::dispatch(
|
||||
ex,
|
||||
net::prepend(std::move(*this), ec, 0));
|
||||
net::append(std::move(*this), ec, 0));
|
||||
}
|
||||
case 1:
|
||||
// upcall
|
||||
|
||||
Reference in new issue
Block a user