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
test(ext_proc): add integration test for BUFFERED→FULL_DUPLEX_STREAMED mode override with empty chunked response body
Regression test for the fix in processor_state.cc that changed
hasBufferedData() (length > 0) to bufferedData() (non-null check) in
sendBufferedDataInStreamedMode. Without the fix, an empty upstream body
arriving before the ext_proc header response caused the filter to hang
because continueIfNecessary() was never called.
The test verifies that when mode_override changes response_body_mode from
BUFFERED to FULL_DUPLEX_STREAMED and the upstream sends a 0-byte DATA
frame before ext_proc responds to the headers, the empty body is correctly
forwarded to ext_proc and the downstream receives the response.
Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
0 commit comments