From e7f00d4b045f2437a33ffc9803a96a4f37086b3a Mon Sep 17 00:00:00 2001 From: Yanjun Xiang Date: Tue, 8 Aug 2023 22:30:40 +0000 Subject: [PATCH 1/2] Disable ext_proc immedate response. Signed-off-by: Yanjun Xiang --- .../extensions/filters/http/ext_proc/v3/ext_proc.proto | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto b/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto index cf2fdf8487412..1ef3778186abc 100644 --- a/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto +++ b/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto @@ -98,7 +98,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // ` object in a namespace matching the filter // name. // -// [#next-free-field: 15] +// [#next-free-field: 16] message ExternalProcessor { // Configuration for the gRPC service that the filter will communicate with. // The filter supports both the "Envoy" and "Google" gRPC clients. @@ -199,6 +199,14 @@ message ExternalProcessor { // :ref:`mode_override `. // If not set, ``mode_override`` API in the response message will be ignored. bool allow_mode_override = 14; + + // If set to true, ignore the + // :ref:`immediate_response ` + // message in an external processor response. In such case, no local reply will be sent. + // Instead, The stream to the external processor will be closed. There will be no + // more external processing for this stream from now on. + // [#not-implemented-hide:] + bool disable_immediate_response = 15; } // The HeaderForwardingRules structure specifies what headers are From 24e56c6edb543de45b0da143f7c66d78f6adcef7 Mon Sep 17 00:00:00 2001 From: Yanjun Xiang Date: Wed, 9 Aug 2023 15:46:48 +0000 Subject: [PATCH 2/2] fix typo Signed-off-by: Yanjun Xiang --- api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto b/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto index 1ef3778186abc..fe92e3548f07f 100644 --- a/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto +++ b/api/envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto @@ -203,7 +203,7 @@ message ExternalProcessor { // If set to true, ignore the // :ref:`immediate_response ` // message in an external processor response. In such case, no local reply will be sent. - // Instead, The stream to the external processor will be closed. There will be no + // Instead, the stream to the external processor will be closed. There will be no // more external processing for this stream from now on. // [#not-implemented-hide:] bool disable_immediate_response = 15;