Browse Source

send current version of the subnegotiation in user/password response

pull/1938/head
orignal 1 year ago
parent
commit
07c529173e
  1. 2
      libi2pd_client/SOCKS.cpp

2
libi2pd_client/SOCKS.cpp

@ -332,7 +332,7 @@ namespace proxy @@ -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…
Cancel
Save