You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ext_proc: Ext proc half close on destroy and defer reset till trailers received. (#37083)
<!--
!!!ATTENTION!!!
If you are fixing *any* crash or *any* potential security issue, *do
not*
open a pull request in this repo. Please report the issue via emailing
[email protected] where the issue will be triaged
appropriately.
Thank you in advance for helping to keep Envoy secure.
!!!ATTENTION!!!
For an explanation of how to fill out the fields, please see the
relevant section
in
[PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md)
-->
Commit Message: [ext_proc] Ext proc half close on destroy and defer
reset till trailers received.
Additional Description: In Grpc, the trailers carries the grpc-status
header terminates a rpc stream. Our current flow ignores the trailers by
closeStream and resetStream all together, the later resetStream call
would signal the remote server a CANCEL, while clean the sidestream and
ignore any possible trailers that might have been sent by ext_proc
server.
This PR would defer the cleanup of the side stream till a trailers been
received, or till a cleanup timer fires.
Risk Level: medium
Testing: unit tests
Docs Changes:
Release Notes:
Platform Specific Features:
---------
Signed-off-by: Xin Zhuang <[email protected]>
0 commit comments