-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add http2 support. Start with http2 frame parsing logic #2886
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
base: master
Are you sure you want to change the base?
Conversation
| */ | ||
|
|
||
|
|
||
| #define SEASTAR_HTTP2_TEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would like a better way to expose private functions for test purposes.
a2de6d5 to
fffba74
Compare
fffba74 to
e8ec254
Compare
|
|
||
| namespace http { | ||
|
|
||
| class http2_connection { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This du[licates (at the first glance) the client.hh conneciton class
| // Main entry point to start processing the HTTP/2 connection. | ||
| future<> process(); | ||
|
|
||
| #ifdef SEASTAR_HTTP2_TEST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We try to avoid ifdefs for no special readons. If the intent is just to get a private field out of a class, declare a method in internal or testing namespace that's friend to that class
|
We have both -- http server and client implementation in seastar. Does support for http2 come for both as well? |
I would like to work on the http2 support in seastar, mentioned here
Since this is a large task, I want to start small get feedback and iterate. Eventually making it compliant with http2 spec