Open mikicho opened 11 months ago
I investigated it further.
It seems like we don't emit a readable
event. The for await (const chunk of stream)
in got
waits for a readable
event, which is never emitted.
I suspect it is connected to the response clones, or maybe the ReadableStream
in the createResponse
This should be fixed by #604.
Specifically, got exits in this line with error code 0 (ok). I couldn't catch the error (even with a try-catch), so I'm unsure what's happening.
It does work with native
http
.May be related to: #308