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

Retry socket binding up to five times upon EADDRNOTAVAIL. #1004

Merged
merged 1 commit into from
Apr 8, 2015

Conversation

ryanpetrello
Copy link
Contributor

I'm using gunicorn in an embedded virtual networking application, and it's not uncommon for the bind address to take a few moments to actually be added to the interface. Given that other socket binding failures in this method lead to a retry loop, it seems reasonable that this one would as well?

@tilgovi
Copy link
Collaborator

tilgovi commented Apr 8, 2015

Seems reasonable.

@berkerpeksag
Copy link
Collaborator

+1

berkerpeksag added a commit that referenced this pull request Apr 8, 2015
Retry socket binding up to five times upon EADDRNOTAVAIL.
@berkerpeksag berkerpeksag merged commit ba92af9 into benoitc:master Apr 8, 2015
@berkerpeksag
Copy link
Collaborator

Thanks!

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.

3 participants