Skip to content

Commit 3fa4096

Browse files
authored
send local response: clarify call sequence
Per discussion in envoyproxy/envoy#36809
1 parent 72e363a commit 3fa4096

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

abi-versions/v0.2.1/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,10 @@ Plugin must return one of the following values:
11541154
* returns:
11551155
- `i32 (`[`proxy_status_t`]`) status`
11561156

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

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

0 commit comments

Comments
 (0)