envoyproxy/envoy

ext_proc: knob to disallow immediate_response

Aberta

#28.698 aberto em 28 de jul. de 2023

 (8 comentários) (0 reação) (2 responsáveis)C++ (5.373 forks)batch import
area/ext_procenhancementhelp wanted

Métricas do repositório

Stars
 (27.997 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Title: ext_proc: knob to disallow immediate_response

Description: Just like the way we have a knob disallow_clear_route_cache that will ignore a clear_route_cache setting in the ProcessingResponse, we need a knob on the filter (disallow_immediate_response) that will ignore an immediate_response value in the ProcessingResponse. The behavior should be to close the ext_proc stream but NOT do the immediate response. Instead, the request should be forwarded as through no changes were done by ext_proc.

Knob is false by default.

Guia do colaborador