Skip to content

Commit 61e115f

Browse files
wbpcodemathetake
andauthored
Update source/extensions/dynamic_modules/sdk/rust/src/lib.rs
Co-authored-by: Takeshi Yoneda <[email protected]> Signed-off-by: code <[email protected]>
1 parent 2772b0a commit 61e115f

File tree

1 file changed

+3
-4
lines changed
  • source/extensions/dynamic_modules/sdk/rust/src

1 file changed

+3
-4
lines changed

source/extensions/dynamic_modules/sdk/rust/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -947,10 +947,9 @@ pub trait EnvoyHttpFilter {
947947

948948
/// Similar to [`append_received_response_body`], but appends to the buffered response body.
949949
///
950-
/// This should only be called by the latest data processing filter in the filter chain.
951-
/// That is say for a given filter X, if and only if the filters following filter X in the filter
952-
/// chain have not yet accessed the body, filter X can safely modify the buffered body with this
953-
/// method.
950+
/// This method should only be used by the final data-processing filter in the chain.
951+
/// In other words, a filter may safely modify the buffered body only if no later filters
952+
/// in the chain have accessed it yet.
954953
///
955954
/// Returns false if the response body is not available.
956955
/// Note that after changing the response body, it is caller's responsibility to modify the

0 commit comments

Comments
 (0)