-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Hardcoded socket timeout #31378
Comments
3 tasks
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jan 31, 2020
Prior to Node.js v13, http[2s] have a specific default timeout value which should not be confused with net.Socket default timeout. Fixes: nodejs#31378 Fixes: nodejs#27556 Refs: nodejs#27704
@natlibfi-arlehiko thank you for opening the issue, I'm going to close this because it is now fixed on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation states that sockets do not have timeout on by default:
And yet, HTTP requests time out after 2 minutes. According to links below, the time out would be hardcoded but I couldn't find proof of this.
https://stackoverflow.com/a/46157120
https://forum.nginx.org/read.php?2,214230,214239#msg-214239
Test case
server.js
Workaround
server.js
The text was updated successfully, but these errors were encountered: