Interface HeaderValidatorConfig.Http1ProtocolOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HeaderValidatorConfig.Http1ProtocolOptions,HeaderValidatorConfig.Http1ProtocolOptions.Builder
- Enclosing class:
- HeaderValidatorConfig
public static interface HeaderValidatorConfig.Http1ProtocolOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAllowChunkedLength()Allows Envoy to process HTTP/1 requests/responses with both ``Content-Length`` and ``Transfer-Encoding`` headers set.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllowChunkedLength
boolean getAllowChunkedLength()
Allows Envoy to process HTTP/1 requests/responses with both ``Content-Length`` and ``Transfer-Encoding`` headers set. By default such messages are rejected, but if option is enabled - Envoy will remove the ``Content-Length`` header and process the message. See `RFC7230, sec. 3.3.3 <https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.3>`_ for details. .. attention:: Enabling this option might lead to request smuggling vulnerabilities, especially if traffic is proxied via multiple layers of proxies.
bool allow_chunked_length = 1;- Returns:
- The allowChunkedLength.
-
-