oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.29k stars 2.77k forks source link

SSE not working with a node server #7656

Open stagas opened 11 months ago

stagas commented 11 months ago

What version of Bun is running?

1.0.18+36c316a24

What platform is your computer?

Ubuntu

What steps can reproduce the bug?

SSE is not working for me, using a node server using regular req/res objects. Connections open but freeze, and no data arrives, probably not flushing but i can't find how to do it with the node server, the signal that i see used isn't anywhere in the req/res objects. The connections also hang forever in the server, even if the client closes, they just pile up.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

TimoStolz commented 11 months ago

Same here, with server-sent-events from Postgraphile. While working on Node.JS 18.18.2, but when using Bun, the connection is kept alive, but data is not transmitted.

github-actions[bot] commented 3 months ago

This issue is stale and may be closed due to inactivity. If you're still running into this, please leave a comment.