request throws AbortError
rather than TimeoutError
when passed AbortSignal.timeout(1000) as signal
#2590
Labels
bug
Something isn't working
Bug Description
Reproducible By
import { request } from 'undici'
await request('http://localhost', { signal: AbortSignal.timeout(1000) })
Expected Behavior
Logs & Screenshots
Environment
latest node.js
latest windows
The text was updated successfully, but these errors were encountered: