File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
source/extensions/dynamic_modules/sdk/rust/src Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -926,10 +926,9 @@ pub trait EnvoyHttpFilter {
926926
927927 /// Similar to [`drain_received_response_body`], but drains from the buffered response body.
928928 ///
929- /// This should only be called by the latest data processing filter in the filter chain.
930- /// That is say for a given filter X, if and only if the filters following filter X in the filter
931- /// chain have not yet accessed the body, filter X can safely modify the buffered body with this
932- /// method.
929+ /// This method should only be used by the final data-processing filter in the chain.
930+ /// In other words, a filter may safely modify the buffered body only if no later filters
931+ /// in the chain have accessed it yet.
933932 ///
934933 /// Returns false if the response body is not available.
935934 /// Note that after changing the response body, it is caller's responsibility to modify the
You can’t perform that action at this time.
0 commit comments