You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set a responseTimeout on a request, and then, before the responseTimeout has elapsed, the request has an error (e.g. connection timeout), then the responseTimeout timer is not cleared.
This can cause issues like a hanging process, or memory leaks.
I believe it just needs adding a clearTimeout in the req.on("error") handler
The text was updated successfully, but these errors were encountered:
If you set a
responseTimeout
on a request, and then, before the responseTimeout has elapsed, the request has an error (e.g. connection timeout), then the responseTimeout timer is not cleared.This can cause issues like a hanging process, or memory leaks.
I believe it just needs adding a
clearTimeout
in thereq.on("error")
handlerThe text was updated successfully, but these errors were encountered: