eventStream.push
hangs when called before eventStream.send()
#944
Labels
bug
Something isn't working
eventStream.push
hangs when called before eventStream.send()
#944
Environment
node v20.13.0
h3: 1.13.0
Reproduction
https://github.com/rrd108/h3-eventstream-push-hang
Steps to reproduce:
Describe the bug
The
eventStream.push
method in h3 hangs indefinitely when called before theeventStream.send()
method is invoked.This prevents the server from sending the stream to the client and causes a stall. The issue occurs even with a single call to
eventStream.push
beforesend
and it is not related to backpressure.The
WritableStream
reports it'sready
before thepush
, and the problem is present even if we await the ready promise before the write operation.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: