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

更新http2.0中对mesaage的误解 #255

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Conversation

Navyum
Copy link
Contributor

@Navyum Navyum commented May 30, 2024

message消息对应了http1.0中的请求、响应,
所以一个stream只会有一个请求message和一个响应message即2个message。
此外两条message传输完成后,stream的生命周期就结束了,此时stream就会被销毁。如果有新http请求,会在当前tcp内新建一个stream进行处理,从而实现多路复用。

message消息对应了http1.0中的请求、响应,
所以一个stream只会有一个请求message和一个响应message即2个message。
此外两条message传输完成后,stream的生命周期就结束了,此时stream就会被销毁。如果有新http请求,会在当前tcp内新建一个stream进行处理,从而实现多路复用。
@xiaolincoder xiaolincoder merged commit 6938717 into xiaolincoder:main Jul 5, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants