Open thelinuxlich opened 1 month ago
We use "node:http" and its global agent in our fetch implementation unless the user provides a custom one. Also if I remember correctly, "keepalive" is enabled by default in newer Node versions. Is it possible for you to help us reproducing it?
A problem already solved on the native Node.js fetch appears in this lib: if you send multiple requests simultaneously, you're prone to receive the error "socket hang up", probably because the HTTP agent doesn't have the "keepalive" flag enabled.