[System Information]
OS Version : macOS 23.1.0
NodeJS Version : v20.12.2
PNPM Version : 8.14.3
[Nest CLI]
Nest CLI Version : 10.4.2
[Nest Platform Information]
platform-express version : 10.3.10
microservices version : 10.3.10
platform-ws version : 10.3.10
websockets version : 10.3.10
schematics version : 10.1.2
throttler version : 5.2.0
passport version : 10.0.3
swagger version : 7.4.0
testing version : 10.3.10
common version : 10.3.10
config version : 3.2.3
axios version : 3.0.2
core version : 10.3.10
jwt version : 10.2.0
cli version : 10.4.2
Is there an existing issue for this?
Current behavior
sse close event not trigger
Minimum reproduction code
https://github.com/wenghongtian/nest-sse
Steps to reproduce
req.on('close', () => { console.log('request closed'); });
not triggerExpected behavior
When the socket is closed, 'close' event can trigger
Package
Other package
No response
NestJS version
No response
Packages versions
[System Information] OS Version : macOS 23.1.0 NodeJS Version : v20.12.2 PNPM Version : 8.14.3
[Nest CLI] Nest CLI Version : 10.4.2
[Nest Platform Information] platform-express version : 10.3.10 microservices version : 10.3.10 platform-ws version : 10.3.10 websockets version : 10.3.10 schematics version : 10.1.2 throttler version : 5.2.0 passport version : 10.0.3 swagger version : 7.4.0 testing version : 10.3.10 common version : 10.3.10 config version : 3.2.3 axios version : 3.0.2 core version : 10.3.10 jwt version : 10.2.0 cli version : 10.4.2
Node.js version
20.12.2
In which operating systems have you tested?
Other
No response