Don't send proxy requests for incoming connections.
This commit is contained in:
parent
ee63f2a32b
commit
079dcd0179
4 changed files with 5 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue