mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
clarify the warning for unrecognized socks version
(generally happens when people use tor as an httpd proxy) svn:r576
This commit is contained in:
parent
ac5152d822
commit
4d0b8f00b1
@ -473,7 +473,7 @@ int fetch_from_buf_socks(buf_t *buf, char *socks_version,
|
|||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
default: /* version is not socks4 or socks5 */
|
default: /* version is not socks4 or socks5 */
|
||||||
log_fn(LOG_WARN,"Socks version %d not recognized.",*(buf->buf));
|
log_fn(LOG_WARN,"Socks version %d not recognized. (Tor is not an httpd proxy.)",*(buf->buf));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user