Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一个问题: 服务端的stream需要手动关闭吗 #103

Open
shiqinfeng1 opened this issue Mar 4, 2025 · 2 comments
Open

请教一个问题: 服务端的stream需要手动关闭吗 #103

shiqinfeng1 opened this issue Mar 4, 2025 · 2 comments

Comments

@shiqinfeng1
Copy link

客户端open一个stream和服务端进行通信,通信完成后主动close这个stream,那么服务端是否也需要主动关闭该stream,还是说,客户端关闭stream后会通知到服务端, 然后服务端自动释放这个stresm的资源?

@xtaci
Copy link
Owner

xtaci commented Mar 5, 2025

任何一端关闭等于stream关闭,没有half open.

@shiqinfeng1
Copy link
Author

@xtaci 好的,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants