Interface HeaderValidatorConfig.Http1ProtocolOptionsOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getAllowChunkedLength()
      Allows Envoy to process HTTP/1 requests/responses with both ``Content-Length`` and ``Transfer-Encoding`` headers set.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.