1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 11:02:48 -05:00

If you configure Unix PuTTY to use a proxy, tell it to even proxy

localhost connections, and also enable X forwarding in such a way that
it will attempt to connect to a Unix-domain X server socket, an
assertion will fail when proxy_for_destination() tries to call
sk_getaddr(). Fix by ensuring that Unix-domain sockets are _never_
proxied, since they fundamentally can't be.

[originally from svn r9688]
This commit is contained in:
Simon Tatham
2012-10-16 20:15:51 +00:00
parent 36b8d450f0
commit 58870f60e4
4 changed files with 20 additions and 0 deletions

View File

@ -390,6 +390,11 @@ int sk_address_is_local(SockAddr addr)
}
}
int sk_address_is_special_local(SockAddr addr)
{
return addr->superfamily == UNIX;
}
int sk_addrtype(SockAddr addr)
{
SockAddrStep step;