-
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
request with agent, timeout not work #21185
Labels
http
Issues or PRs related to the http subsystem.
Comments
That's a bug for more reasons than one because Thanks for the bug report, pull request welcome! |
I'll make a PR to fix it. |
4 tasks
killagu
added a commit
to killagu/node
that referenced
this issue
Jun 8, 2018
When request with both timeout and agent, timeout not work. This patch will fix it, socket timeout will set to request timeout before socket is connected, and socket timeout will reset to agent timeout after response end. Update agent doc, add timeout option. Fixes: nodejs#21185
targos
pushed a commit
that referenced
this issue
Jul 14, 2018
When request with both timeout and agent, timeout not work. This patch will fix it, socket timeout will set to request timeout before socket is connected, and socket timeout will reset to agent timeout after response end. Fixes: #21185 PR-URL: #21204 Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When request with agent, set the request timeout not work, timeout is still
agent timeout.
The code:
I expect request timeout will overwrite the agent time out.
If it's a bug, I can make a PR to fix it.
The text was updated successfully, but these errors were encountered: