xtaci / kcp-go

A Crypto-Secure Reliable-UDP Library for golang with FEC
MIT License
4.05k stars 731 forks source link

Fixed possible coroutine leaks caused by closing the connection with SetDeadline #251

Open blinkbean opened 10 months ago

blinkbean commented 10 months ago

Resolves #250 See detailed description in the fore-mentioned issue.

xtaci commented 10 months ago

need description on this issue

faddat commented 7 months ago

@xtaci I think that the issue is that we'd always return nil previously.

I'm trying to learn the codebase, and what I think that these changes do is explicitly send back a connection close.

I think that the author could be correct.