Add support for SOCKS 5 proxies.
This only covers outgoing TCP connections, and supports only username/password authentication or no authentication.
This commit is contained in:
parent
b58d95eb29
commit
fb5588856f
2 changed files with 48 additions and 2 deletions
|
|
@ -422,7 +422,7 @@ static bool setup_myself(void) {
|
|||
if(proxyuser && *proxyuser)
|
||||
proxyuser = xstrdup(proxyuser);
|
||||
if(proxypass && *proxypass)
|
||||
proxyuser = xstrdup(proxypass);
|
||||
proxypass = xstrdup(proxypass);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue