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

proposal: net: add SetDeadline to Listener interface #6892

Open
mikioh opened this issue Dec 4, 2013 · 2 comments
Open

proposal: net: add SetDeadline to Listener interface #6892

mikioh opened this issue Dec 4, 2013 · 2 comments
Labels
Milestone

Comments

@mikioh
Copy link
Contributor

@mikioh mikioh commented Dec 4, 2013

Probably it has been overlooked. It would be nice if we can avoid unnecessary type
assertion in the loop of accepting incoming connections. Both TCPListener and
UnixListener already implemented this method.
@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Dec 4, 2013

@mikioh
Copy link
Contributor Author

@mikioh mikioh commented Dec 22, 2013

Comment 2:

Labels changed: added release-go2, removed release-none.

Status changed to LongTerm.

@bradfitz bradfitz added Go2 and removed release-go2 labels Dec 17, 2014
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc removed the repo-main label Apr 14, 2015
@rsc rsc changed the title net: no SetDeadline method on Listener interface net: add SetDeadline to Listener interface Jun 17, 2017
@rsc rsc changed the title net: add SetDeadline to Listener interface proposal: net: add SetDeadline to Listener interface Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.