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

feature: h2 server standard lib #1857

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

Conversation

jayantxie
Copy link
Contributor

为解决独立实现的H2库稳定性不可控,容易与标准库脱钩导致后续维护困难的问题,调整H2库的底层实现,复用标准库的主体代码。
但实现上,为了使mosn的io层和内存复用在性能上发挥作用,在代码零侵入的条件上做了妥协。也就是没有和H1代理一样使用pipe封装connection,而是重写了framer和read frame goroutine。
TODO:

  1. 性能优化;
  2. h2 client支持;
  3. 单元测试&集成测试;

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

Successfully merging this pull request may close these issues.

None yet

1 participant