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

API should close connection by default #303

Open
artgo opened this issue May 13, 2019 · 2 comments
Open

API should close connection by default #303

artgo opened this issue May 13, 2019 · 2 comments

Comments

@artgo
Copy link

artgo commented May 13, 2019

To close connection we require our customers to explicitly do it via "Connection" header like so:

curl -i http://localhost:3000/api/override-default-heade  -H "Connection: close"

This is not a standard expected behaviour and creates unnecessary additional load on the servers

@artgo
Copy link
Author

artgo commented May 13, 2019

@kahmali FYI

@vadkasevas
Copy link

return req.socket.destroy();

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