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

Disable sending "Connection: keep-alive" header from server #167

Closed
NiteshKant opened this issue Jul 3, 2014 · 0 comments
Closed

Disable sending "Connection: keep-alive" header from server #167

NiteshKant opened this issue Jul 3, 2014 · 0 comments
Milestone

Comments

@NiteshKant
Copy link
Member

HttpConnectionHandler adds a "Connection: keep-alive" header if the client has requested keep-alive connections (default for HTTP 1.1 or presence of "Connection: keep-alive" header in the request)

For HTTP 1.1 keep-alive is the default so sending this header is not required. On the other hand, if the client request a close (Connection: close header) then we should reply with the same.

Removing Connection: keep-alive header makes simple applications (benchmarks) faster as there is less data to send.

@NiteshKant NiteshKant added this to the 0.3.7 milestone Jul 3, 2014
@NiteshKant NiteshKant self-assigned this Jul 3, 2014
NiteshKant added a commit that referenced this issue Jul 3, 2014
@NiteshKant NiteshKant removed their assignment Aug 19, 2014
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

1 participant