]> granicus.if.org Git - transmission/commit
(trunk libT) heap and event pruning: don't create evtimers for periodic pex messages...
authorJordan Lee <jordan@transmissionbt.com>
Sun, 17 Apr 2011 05:55:46 +0000 (05:55 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 17 Apr 2011 05:55:46 +0000 (05:55 +0000)
commit294c2d7113858d91047a475a422751bb31b6e5d3
tree631b16a4fb24bb7ccbbf3c679f61817173e4d124
parent244bd7bc1c95262ebe99209715545baad0331841
(trunk libT) heap and event pruning: don't create evtimers for periodic pex messages if the torrent doesn't allow pex (such as, if it's on a private tracker).

Previously, we unconditionally created the evtimer, and then checked each time to see if pex was allowed.
libtransmission/peer-msgs.c