Skip to content

关于stream 优先级的疑问 #215

Closed Answered by iyangsj
stopandjoin asked this question in Q&A (问题和回答)
Discussion options

You must be logged in to vote

建议批量执行stream写操作,再触发执行quic_endpoint_process_connections

调用完stream write后需要 quic_endpoint_process_connections ,这样就直接将数据flush到socket中去了

注意:quic_endpoint_process_connections并不一定会发送所有缓冲的流数据,实际发送还会受到拥塞窗口限制

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iyangsj
Comment options

Answer selected by stopandjoin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants