Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 5: [PATCH 05/17] feat(net): preserve Roots peer controls and health view on v31

src/netbase.cpp

Before: src/netbase.cpp · After: src/netbase.cpp

File metadata
index c1c03c57259d154c6ad50598fd92ca4db9c8f7cc..525a62cc02bb5f7a0d8141809e9f92ba8001828c 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/netbase.cpp CHANGED
@@ -432,7 +432,7 @@ bool Socks5(const std::string& strDest, uint16_t port, const ProxyCredentials* a
432
  vAuth.push_back(auth->password.size());
433
  vAuth.insert(vAuth.end(), auth->password.begin(), auth->password.end());
434
  sock.SendComplete(vAuth, g_socks5_recv_timeout, g_socks5_interrupt);
435
- LogDebug(BCLog::PROXY, "SOCKS5 sending proxy authentication %s:%s\n", auth->username, auth->password);
436
  uint8_t pchRetA[2];
437
  if (InterruptibleRecv(pchRetA, 2, g_socks5_recv_timeout, sock) != IntrRecvError::OK) {
438
  LogError("Error reading proxy authentication response\n");
 
432
  vAuth.push_back(auth->password.size());
433
  vAuth.insert(vAuth.end(), auth->password.begin(), auth->password.end());
434
  sock.SendComplete(vAuth, g_socks5_recv_timeout, g_socks5_interrupt);
435
+ LogDebug(BCLog::PROXY, "SOCKS5 sending username/password authentication\n");
436
  uint8_t pchRetA[2];
437
  if (InterruptibleRecv(pchRetA, 2, g_socks5_recv_timeout, sock) != IntrRecvError::OK) {
438
  LogError("Error reading proxy authentication response\n");