You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
req.on('close', () => { console.log('request closed'); }); not trigger
Expected behavior
When the socket is closed, 'close' event can trigger
Package
I don't know. Or some 3rd-party package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other (see below)
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?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
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
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
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
The text was updated successfully, but these errors were encountered: