mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
update
This commit is contained in:
@@ -31,7 +31,6 @@ class connection : public std::enable_shared_from_this<connection>, private boos
|
||||
bool has_closed() const { return has_closed_; }
|
||||
|
||||
void response(const char* data, size_t len) {
|
||||
assert(message_[1].size() >= len);
|
||||
message_[0] = boost::asio::buffer(&len, sizeof(int32_t));
|
||||
message_[1] = boost::asio::buffer((char*)data, len);
|
||||
reset_timer();
|
||||
|
||||
Reference in New Issue
Block a user