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

Merged
merged 1 commit into from Apr 8, 2015

Projects

None yet

3 participants

@ryanpetrello
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
Collaborator
tilgovi commented Apr 8, 2015

Seems reasonable.

@berkerpeksag
Collaborator

+1

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

Thanks!

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