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 @@ -836,10 +836,9 @@ pub trait EnvoyHttpFilter {
836836
837837 /// Similar to [`drain_received_request_body`], but drains from the buffered request body.
838838 ///
839- /// This should only be called by the latest data processing filter in the filter chain.
840- /// That is say for a given filter X, if and only if the filters following filter X in the filter
841- /// chain have not yet accessed the body, filter X can safely modify the buffered body with this
842- /// method.
839+ /// This method should only be used by the final data-processing filter in the chain.
840+ /// In other words, a filter may safely modify the buffered body only if no later filters
841+ /// in the chain have accessed it yet.
843842 ///
844843 /// Returns false if the request body is not available.
845844 /// Note that after changing the request body, it is caller's responsibility to modify the
You can’t perform that action at this time.
0 commit comments