[Support] SSE的连接关闭问题 #4487
-
Describe the problem(描述问题)为什么sendEnd不能关闭当前请求?是写法上的问题吗? Midway Versions(Midway 版本)3.20.4 |
Beta Was this translation helpful? Give feedback.
Answered by
czy88840616
Jan 15, 2026
Replies: 1 comment
-
|
sendEnd 是优雅关闭,需要客户端监听 close 事件。res.end是服务端暴力关闭了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RomenMark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sendEnd 是优雅关闭,需要客户端监听 close 事件。res.end是服务端暴力关闭了。