refactor
This commit is contained in:
@@ -40,6 +40,7 @@ public:
|
||||
send_bytes_{send_bytes},
|
||||
delay_before_send_{delay_before_send},
|
||||
never_send_{never_send} {
|
||||
acceptor_.set_option(boost::asio::socket_base::reuse_address(true));
|
||||
start_accept();
|
||||
io_thr_ = std::thread([this]() { io_ctx_.run(); });
|
||||
}
|
||||
|
Reference in New Issue
Block a user