mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
correct buffer size for ipv6 SOCKS proxy reply
This commit is contained in:
parent
3e3f92c616
commit
4ed5e44de7
|
@ -1708,7 +1708,7 @@ namespace transport
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
boost::asio::async_read(conn->GetSocket(), boost::asio::buffer(readbuff->data (), 10),
|
boost::asio::async_read(conn->GetSocket(), boost::asio::buffer(readbuff->data (), sz),
|
||||||
[timer, conn, sz, readbuff](const boost::system::error_code & e, std::size_t transferred)
|
[timer, conn, sz, readbuff](const boost::system::error_code & e, std::size_t transferred)
|
||||||
{
|
{
|
||||||
if(e)
|
if(e)
|
||||||
|
|
Loading…
Reference in a new issue