Skip to content

Commit

Permalink
send local response: clarify call sequence
Browse files Browse the repository at this point in the history
Per discussion in envoyproxy/envoy#36809
  • Loading branch information
kyessenov authored Oct 31, 2024
1 parent 72e363a commit 3fa4096
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions abi-versions/v0.2.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1154,9 +1154,10 @@ Plugin must return one of the following values:
* returns:
- `i32 (`[`proxy_status_t`]`) status`

Sends HTTP response with body (`body_data`, `body_size`) and
Send HTTP response with body (`body_data`, `body_size`) and
[serialized] headers (`serialized_headers_data`,
`serialized_headers_size`).
`serialized_headers_size`). The response is sent after the current
callback completes and triggers response callbacks.

This can be used as long as HTTP response headers were not sent downstream.

Expand Down

0 comments on commit 3fa4096

Please sign in to comment.