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

Projects
None yet
3 participants
@ryanpetrello
Contributor

ryanpetrello commented Apr 8, 2015

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

This comment has been minimized.

Show comment
Hide comment
@tilgovi

tilgovi Apr 8, 2015

Collaborator

Seems reasonable.

Collaborator

tilgovi commented Apr 8, 2015

Seems reasonable.

@berkerpeksag

This comment has been minimized.

Show comment
Hide comment
@berkerpeksag

berkerpeksag Apr 8, 2015

Collaborator

+1

Collaborator

berkerpeksag commented Apr 8, 2015

+1

berkerpeksag added a commit that referenced this pull request Apr 8, 2015

Merge pull request #1004 from ryanpetrello/master
Retry socket binding up to five times upon EADDRNOTAVAIL.

@berkerpeksag berkerpeksag merged commit ba92af9 into benoitc:master Apr 8, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@berkerpeksag

This comment has been minimized.

Show comment
Hide comment
@berkerpeksag

berkerpeksag Apr 8, 2015

Collaborator

Thanks!

Collaborator

berkerpeksag commented Apr 8, 2015

Thanks!

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