[fuzz] fix filter fuzz bugs (#10144)

Signed-off-by: Asra Ali <asraa@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8ef84ae892bff07ddd1752046a839cf2aeb5faeb
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 5dbbd886da
commit 7a797f59eb
  1. 3
      envoy/config/filter/http/rate_limit/v2/rate_limit.proto
  2. 3
      envoy/extensions/filters/http/ratelimit/v3/rate_limit.proto

@ -38,7 +38,8 @@ message RateLimit {
// :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a // :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a
// request is considered external. The filter defaults to *both*, and it will apply to all request // request is considered external. The filter defaults to *both*, and it will apply to all request
// types. // types.
string request_type = 3; string request_type = 3
[(validate.rules).string = {in: "internal" in: "external" in: "both" in: ""}];
// The timeout in milliseconds for the rate limit service RPC. If not // The timeout in milliseconds for the rate limit service RPC. If not
// set, this defaults to 20ms. // set, this defaults to 20ms.

@ -40,7 +40,8 @@ message RateLimit {
// :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a // :ref:`x-envoy-internal<config_http_conn_man_headers_x-envoy-internal>` is not set or false, a
// request is considered external. The filter defaults to *both*, and it will apply to all request // request is considered external. The filter defaults to *both*, and it will apply to all request
// types. // types.
string request_type = 3; string request_type = 3
[(validate.rules).string = {in: "internal" in: "external" in: "both" in: ""}];
// The timeout in milliseconds for the rate limit service RPC. If not // The timeout in milliseconds for the rate limit service RPC. If not
// set, this defaults to 20ms. // set, this defaults to 20ms.

Loading…
Cancel
Save