pub enum RequestHeadersStatus {
Continue,
StopIteration,
_reserved,
StopAllIterationAndBuffer,
}Expand description
The status of the processing after the HttpFilterInstance::request_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::request_body
will be called while not sending headers to the upstream. The header processing can be
resumed by either calling EnvoyFilterInstance::continue_request, or returns
continue status from the HttpFilterInstance::request_body.
_reserved
StopAllIterationAndBuffer
This indicates that Envoy should stop all iteration and continue to buffer the request 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::request_body will not be called.
The header processing can be resumed by either calling EnvoyFilterInstance::continue_request, or
returns continue status from the HttpFilterInstance::request_body.