-
Notifications
You must be signed in to change notification settings - Fork 236
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 timeout doesn't work properly #270
Comments
4 tasks
adamjmcgrath
added a commit
that referenced
this issue
Oct 12, 2021
Destroy the request when reaches the timeout (#270)
Thanks @amrsalama - I may have a to wait a few days before I can release this, I'll let you know |
Thank you @adamjmcgrath |
Hi @adamjmcgrath, any plan for when will be the next release? |
Merged
Hi @amrsalama - will get released when #272 is merged |
@adamjmcgrath Thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
JwksClient
accepts atimeout
option and by default has a value of 30 sec, but actually this value doesn't have a real effect, if the request reaches the timeout it won't be destroyed.timeout
event that is emitted by the request as stated by the docs https://nodejs.org/api/http.html#http_event_timeouthttp
timeout option can be found here http.request timeout doesn't take effect nodejs/node#12005What was the expected behavior?
Environment
The text was updated successfully, but these errors were encountered: