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

What is the associate between this library and http's timeout #32

Closed
iamnotstone opened this issue Apr 7, 2018 · 1 comment
Closed
Labels

Comments

@iamnotstone
Copy link

I noticed that the node.js's native http also have a timeout. And I do understand that timeout is about socket connection during it's inactive . And now, this library is about a http request . So I'm wondering what will happen if the value of expreejs/timeout is large then http's timeout ?

@dougwilson
Copy link
Contributor

If the value is larger, then when the timeout will trigger for this module, the socket will likely already have been closed by Node.js.

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

No branches or pull requests

2 participants