mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:54:01 +01:00
send current version of the subnegotiation in user/password response
This commit is contained in:
parent
fee940238a
commit
07c529173e
|
@ -332,7 +332,7 @@ namespace proxy
|
|||
|
||||
void SOCKSHandler::Socks5UserPasswdResponse ()
|
||||
{
|
||||
m_response[0] = 5; // Version
|
||||
m_response[0] = 1; // Version of the subnegotiation
|
||||
m_response[1] = 0; // Response code
|
||||
LogPrint(eLogDebug, "SOCKS: v5 user/password response");
|
||||
boost::asio::async_write(*m_sock, boost::asio::const_buffers_1(m_response, 2),
|
||||
|
|
Loading…
Reference in a new issue