Skip to content

Conversation

@blinkbean
Copy link

@blinkbean blinkbean commented Nov 6, 2023

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

@xtaci
Copy link
Owner

xtaci commented Nov 6, 2023

need description on this issue

@faddat
Copy link

faddat commented Jan 21, 2024

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

只能通过UDPSession.Close才能跳出readloop循环,如果通过调用SetXXXDeadline的方式,会造成协程泄露。

3 participants