]> granicus.if.org Git - transmission/commit
Push testig for UTP enabled further down.
authorJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:35:56 +0000 (00:35 +0000)
committerJuliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Fri, 18 Feb 2011 00:35:56 +0000 (00:35 +0000)
commit51bc8d8b80d064f259e088513975c78a01b352a3
treec3ae5b53ec2bb18cdda9d6851805a6245844816c
parent4f50c5dda4c0591523238569b68c09ab9f332f72
Push testig for UTP enabled further down.

There's no need to test for DHT/uTP being enabled in tr-udp.  The DHT
will silently discard any packets directed at the wrong session (see the
beginning of dhtCallback).  As to uTP, we need to grok uTP packets
to close any remaining connections after we disabled uTP, so it's better
to participate in uTP, just reject any incoming connections.
libtransmission/tr-udp.c
libtransmission/tr-utp.c