-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add setRequestDecoder to ResponseEncoder interface #24368
Changes from 1 commit
30a70cc
351ae73
fed169f
41876ee
e897a9d
7b6e5d6
6af9d70
e643111
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,6 +156,8 @@ class ResponseEncoderImpl : public StreamEncoderImpl, public ResponseEncoder { | |
return stream_error_on_invalid_http_message_; | ||
} | ||
|
||
void setRequestDecoder(Http::RequestDecoder& /*decoder*/) override {} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. or maybe why HTTP/1.1 doesn't need this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added. H/1 will need more work to actually reset the decoder on internal redirect, but it seems like we don't need to tackle that now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We will need to make it work for H1 to defer logging I guess? Can you add a TODO? |
||
|
||
// Http1::StreamEncoderImpl | ||
void resetStream(StreamResetReason reason) override; | ||
|
||
|
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.
think it's worth a comment on why this is a useful association?
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.
added, ptal!