Closed jm33-m0 closed 2 years ago
Since TakeASnap
might take up to 2 minutes, we set timeout value to exactly 2 min, side effect is that when a KCP agent dies, you will be notified after 2 min rather than immediately.
This change doesn't affect TCP-based C2 transports, as CC is able to check TCP connection state reliably.
When an agent using KCP+Shadowsocks as C2 transport dies, C2 is not aware of its disconnection