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

Update close to not block on shutdown #25

Merged
merged 1 commit into from
Jul 17, 2014
Merged

Conversation

dmcgowan
Copy link
Member

Instead of always blocking on shutdown, close will now return after sending the go away from and allow the application to choose how to wait for shutdown to complete. Likewise receiving a goaway frame will initiate shutdown and allow clients to wait.

Closes #24

Closes moby#24

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
@erikh
Copy link
Contributor

erikh commented Jul 17, 2014

LGTM

dmcgowan added a commit that referenced this pull request Jul 17, 2014
Update close to not block on shutdown
@dmcgowan dmcgowan merged commit 31460bb into moby:master Jul 17, 2014
@dmcgowan dmcgowan deleted the close_wait branch July 17, 2014 22:17
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.

calling conn close before stream close results in a soft deadlock
2 participants