Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Http1.1. Add persistent connection support #30

Open
sgrebnov opened this issue Aug 27, 2013 · 1 comment
Open

Http1.1. Add persistent connection support #30

sgrebnov opened this issue Aug 27, 2013 · 1 comment

Comments

@sgrebnov
Copy link
Contributor

Right now we always close connection after sending response (we also always put Connection: close header to the response).

We may want to review current implementation by re-using connection in case of request contains Connection: keep-alive header

@Tratcher
Copy link
Contributor

Connection: Keep-alive is for HTTP/1.0. In HTTP/1.1 Keep-Alive is the default (does not need to be sent), but instead the client/server sends Connection: Close if they do not want keep-alive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants