We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daa78b4 + 7001679 commit 27cf578Copy full SHA for 27cf578
example/boost/asio_send_recv.cpp
@@ -38,8 +38,8 @@ int main() {
38
std::cout << __LINE__ << ":" << e.message() << std::endl;
39
return;
40
}
41
- unp.reserve_buffer(window_size);
42
do_async_read_some = [&] {
+ unp.reserve_buffer(window_size);
43
ss.async_read_some(
44
boost::asio::buffer(unp.buffer(), window_size),
45
[&](boost::system::error_code const& e, std::size_t bytes_transferred) {
0 commit comments