Skip to content

Commit

Permalink
fix comment for parameters end_stream of decodeData/encodeData. (#14620)
Browse files Browse the repository at this point in the history
Signed-off-by: wangfakang <fakangwang@gmail.com>
  • Loading branch information
wangfakang authored Jan 13, 2021
1 parent 8d05b0c commit 9d1690d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/envoy/http/filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ class StreamDecoderFilter : public StreamFilterBase {
* Called with a decoded data frame.
* @param data supplies the decoded data.
* @param end_stream supplies whether this is the last data frame.
* Further note that end_stream is only true if there are no trailers.
* @return FilterDataStatus determines how filter chain iteration proceeds.
*/
virtual FilterDataStatus decodeData(Buffer::Instance& data, bool end_stream) PURE;
Expand Down Expand Up @@ -843,6 +844,7 @@ class StreamEncoderFilter : public StreamFilterBase {
* Called with data to be encoded, optionally indicating end of stream.
* @param data supplies the data to be encoded.
* @param end_stream supplies whether this is the last data frame.
* Further note that end_stream is only true if there are no trailers.
* @return FilterDataStatus determines how filter chain iteration proceeds.
*/
virtual FilterDataStatus encodeData(Buffer::Instance& data, bool end_stream) PURE;
Expand Down

0 comments on commit 9d1690d

Please sign in to comment.