Skip to content

Commit 4f034aa

Browse files
committed
Disable response body processing
1 parent 2c80f45 commit 4f034aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/ext-proc/handlers/response.go

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ func (s *Server) HandleResponseHeaders(reqCtx *RequestContext, req *extProcPb.Pr
3838
}
3939

4040
// HandleResponseBody parses response body to update information such as number of completion tokens.
41+
// NOTE: The current implementation only supports Buffered mode, which is not enabled by default. To
42+
// use it, you need to configure EnvoyExtensionPolicy to have response body in Buffered mode.
43+
// https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/filters/http/ext_proc/v3/processing_mode.proto#envoy-v3-api-msg-extensions-filters-http-ext-proc-v3-processingmode
4144
// Example response
4245
/*
4346
{

pkg/manifests/ext_proc.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ spec:
9494
request:
9595
body: Buffered
9696
response:
97-
body: Buffered
9897
# The timeouts are likely not needed here. We can experiment with removing/tuning them slowly.
9998
# The connection limits are more important and will cause the opaque: ext_proc_gRPC_error_14 error in Envoy GW if not configured correctly.
10099
messageTimeout: 1000s

0 commit comments

Comments
 (0)