通过readable回调函数读取流quic_stream_read和直接读取流方式的不同 #298
Unanswered
sophiezou19
asked this question in
Q&A (问题和回答)
Replies: 2 comments 2 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
ACK的回复与应用层是否已读取缓存的数据无关。
同上,一种可能是ACK已提前发送。 这两种情况可以提供下debug级别的日志看看 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我发现不同方式读取流,会有以下现象:
1.通过readable回调函数读取流quic_stream_read,读完会向服务端回一个固定长度的包a(应该是ACK?)
2.通过直接读取流并调用内部处理quic_endpoint_process_connections,就不会发送。
想请问下:
现象1中回包a的作用,以及不回会不会导致服务端重传,或者其他影响?
Beta Was this translation helpful? Give feedback.
All reactions