kit-tm / PTP

Peer-Tor-Peer
GNU General Public License v3.0
6 stars 4 forks source link

Handle IsAlive messages in the ConnectionManager #6

Open thack1 opened 7 years ago

thack1 commented 7 years ago

IsAlive messages are handled by PTP right now but PTP doesn't manage the connections. Therefore PTP can only handle them for each Identifier instead for each connection. It can happen that PTP unnecessarily sends an IsAlive message through a newly created connection even though the message was intended for an old connection which is already closed.