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

bugfix: the xquic module will cost extra the same buffer size of the entire response body #1960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fbwfbi
Copy link

@fbwfbi fbwfbi commented Sep 19, 2024

related to #1943

@fbwfbi
Copy link
Author

fbwfbi commented Sep 19, 2024

这里的 r->xqstream->queued 感觉非常多余,不像 http2 那样会手动管理 frame 的发送,所以在 http2 相关结构体字段里有 queued 这个计数,而目前底层完全透过 xquic 库发送,实际上简单很多,按道理是不需要 queued 这个计数字段,使用 wait_to_write 就足够了。

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.

1 participant