pub enum ResponseHeadersStatus {
Continue,
StopIteration,
_reserved,
StopAllIterationAndBuffer,
}Expand description
The status of the processing after the HttpFilterInstance::response_headers is called.
Variants§
Continue
Should be returned when the operation should continue.
StopIteration
This indicates that Envoy shouldn’t continue from processing the headers and should
stop filter iteration. In other words, HttpFilterInstance::response_body
will be called while not sending headers to the upstream. The header processing can be
resumed by either calling EnvoyFilterInstance::continue_response, or returns
continue status from the HttpFilterInstance::response_body.
_reserved
StopAllIterationAndBuffer
This indicates that Envoy should stop all iteration and continue to buffer the response body
until the limit is reached. When the limit is reached, Envoy will stop buffering and returns 500
to the client. This means that HttpFilterInstance::response_body will not be called.
The header processing can be resumed by either calling EnvoyFilterInstance::continue_response, or
returns continue status from the HttpFilterInstance::response_body.