Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel Accept() of quic-go #2

Open
tsuzu opened this issue Mar 7, 2018 · 0 comments
Open

Cancel Accept() of quic-go #2

tsuzu opened this issue Mar 7, 2018 · 0 comments

Comments

@tsuzu
Copy link
Owner

tsuzu commented Mar 7, 2018

https://github.com/cs3238-tsuzu/go-easyp2p/blob/455a5c2fd9f2f25271932b0d56573815aaff6fda/p2p.go#L701
Currently, Accept() in Listener is canceled with a dummy connection, but this is not a smart way.
Close() in Listener also closes already established connections, so this won't be helpful.

@tsuzu tsuzu changed the title Way to cancel Accept() of quic-go Cancel Accept() of quic-go Mar 7, 2018
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

No branches or pull requests

1 participant