|
|
@ -1785,7 +1785,7 @@ namespace transport |
|
|
|
|
|
|
|
|
|
|
|
boost::asio::async_read(conn->GetSocket(), boost::asio::buffer(readbuff->data (), SOCKS5_UDP_IPV4_REQUEST_HEADER_SIZE), // read min reply size
|
|
|
|
boost::asio::async_read(conn->GetSocket(), boost::asio::buffer(readbuff->data (), SOCKS5_UDP_IPV4_REQUEST_HEADER_SIZE), // read min reply size
|
|
|
|
boost::asio::transfer_all(), |
|
|
|
boost::asio::transfer_all(), |
|
|
|
[timer, conn, sz, readbuff](const boost::system::error_code & e, std::size_t transferred) |
|
|
|
[timer, conn, readbuff](const boost::system::error_code & e, std::size_t transferred) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (e) |
|
|
|
if (e) |
|
|
|
LogPrint(eLogError, "NTCP2: SOCKS proxy read error ", e.message()); |
|
|
|
LogPrint(eLogError, "NTCP2: SOCKS proxy read error ", e.message()); |
|
|
|