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

Keep-alive support #17

Open
felicienfrancois opened this issue Mar 8, 2016 · 8 comments
Open

Keep-alive support #17

felicienfrancois opened this issue Mar 8, 2016 · 8 comments

Comments

@felicienfrancois
Copy link

In case of multiple consecutives requests, keep-alive is a good perf boost.
It is enabled by default in request but it does not seems to be supported with a proxy.
Is there any limitation due to tunneling or can this be achieved ?

@julianduque
Copy link

Having the same issue, even if the headers are set the tunnel connection is dropped on every request and the connection isn't persistent.

@djyde
Copy link

djyde commented Jan 9, 2017

+1

@mikeal
Copy link
Member

mikeal commented Jan 9, 2017

What version of Node.js? Big changes have landed in the core HTTP implementation since this was initially written.

@djyde
Copy link

djyde commented Jan 10, 2017

@mikeal Node v6.x

@julianduque
Copy link

@mikeal I had this issue with 4.x and 6.x

@m0nzderr
Copy link

Any progress on keep-alive? It still does not seem to work.

@flotwig
Copy link

flotwig commented Mar 18, 2019

This library doesn't support Keep-Alive, but https://github.com/mknj/node-keepalive-proxy-agent seems to support it!

@millerick
Copy link

Unfortunately this is the library that is used by https://github.com/faye/faye, so I was hoping there would be a way to get keep alives working here.

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

7 participants