Skip to content

Commit d2df35a

Browse files
committed
review: document peer_type.
Signed-off-by: Piotr Sikora <[email protected]>
1 parent d549230 commit d2df35a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

abi-versions/v0.2.1/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,9 @@ Plugin must return one of the following values:
898898

899899
Called when downstream connection is closed.
900900

901+
The `peer_type` should describe whether this was initiated by a `LOCAL`
902+
or `REMOTE` peer, but this value might also be `UNKNOWN`.
903+
901904

902905
#### `proxy_on_upstream_data`
903906

@@ -938,6 +941,9 @@ Plugin must return one of the following values:
938941

939942
Called when upstream connection is closed.
940943

944+
The `peer_type` should describe whether this was initiated by a `LOCAL`
945+
or `REMOTE` peer, but this value might also be `UNKNOWN`.
946+
941947

942948
## HTTP streams
943949

0 commit comments

Comments
 (0)