expressjs / timeout

Request timeout middleware for Connect/Express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

iamnotstone opened this issue · comments

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 ?

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.