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

Add middleware that closes connections on responses to Connection: close header #33

Closed
samsondav opened this issue Aug 10, 2017 · 1 comment

Comments

@samsondav
Copy link

If we respond to a request with Connection: close, we should send a response with Connection: close and then close it ourselves.

This works around buggy clients that send Connection: close and never close the connection themselves.

@samsondav samsondav changed the title Add middleware that closes connections on responses to Connection: close heade Add middleware that closes connections on responses to Connection: close header Aug 10, 2017
@CrowdHailer
Copy link
Owner

Closing this issue as behaviour of connection header depends on transport layer. HTTP/1.1 vs HTTP/2

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

No branches or pull requests

2 participants