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

Establish persistance connection with keep-alive #22

Closed
lbdremy opened this issue Aug 4, 2012 · 1 comment
Closed

Establish persistance connection with keep-alive #22

lbdremy opened this issue Aug 4, 2012 · 1 comment

Comments

@lbdremy
Copy link
Owner

lbdremy commented Aug 4, 2012

As it is pointed out in the RFC of HTTP (http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html), a persistance connection has several advantages when a client makes multiple requests on the same server in a short amount of time, which would be good to benefit since our case.

@lbdremy
Copy link
Owner Author

lbdremy commented Aug 5, 2012

By default http requests are performed with the http.globalAgent which by default set Connection: keep-alive. (http://nodejs.org/api/http.html#http_class_http_agent)

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