Don't send proxy requests for incoming connections.

This commit is contained in:
Guus Sliepen 2013-02-07 14:22:28 +01:00
parent ee63f2a32b
commit 079dcd0179
4 changed files with 5 additions and 7 deletions

View file

@ -139,7 +139,7 @@ bool send_id(connection_t *c) {
minor = myself->connection->protocol_minor;
}
if(proxytype)
if(proxytype && c->outgoing)
if(!send_proxyrequest(c))
return false;