Environment
Node v20.10.0
Reproduction
just make a request with timeout, the node process only ends after the timeout period ends, the timeout is never cleared,
this timeout need to be cleared on response or error
|
setTimeout(() => controller.abort(), context.options.timeout); |
setTimeout(() => controller.abort(), context.options.timeout);
Describe the bug
same as description
Additional context
tried to make PR but the formatting is crazy on my end
Logs
No response