-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
http: pausing when proxying CONNECT requests for security reasons #10974
Conversation
Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Alyssa Wilk <[email protected]>
CI failure is integration:quic_http_integration_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.
Thanks, LGTM with small comment.
/wait
const bool end_stream = !buffered_request_body_ && encode_complete_ && !encode_trailers_; | ||
const bool delay_headers_end_stream = end_stream && !downstream_metadata_map_vector_.empty(); |
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.
nit: this is pretty specific/confusing/copied from above. Small helper that returns a struct/tuple/something with comments that can be shared with above?
Signed-off-by: Alyssa Wilk <[email protected]>
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.
Awesome, thanks for the last little cleanup, much easier to understand.
Risk Level: Low (only affects CONNECT proxying, not yet used)
Testing: new unit tests, modified integration tests
Docs Changes: n/a
Release Notes: n/a
Part of #1630 #1451