Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

the max value of 'max_request_bytes' is not match

未关闭
#225 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
api

调研方向

从 api/src/main/proto/envoy/config/filter/http/ext_authz/v2/ext_authz.proto 开始,跟踪其 uint32 max_request_bytes 值如何从 envoy.yaml 加载到 Java xDS 控制平面。使用 4294967295 重现报告的失败;当配置能够加载该值且不再出现当前的 Java Int-range 错误时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

We have a problem when load the file envoy.yaml to xds developing based on this project. The max value in envoy.yaml is 4294967295, but the max value in this project is 2147483647 (Java's Int type).

The content in envoy.yaml as follows:

          http_filters:
          - name: envoy.ext_authz
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
              http_service:
                server_uri:
                  uri: 10.160.78.3:1001
                  cluster: ext-authz
                  timeout: 1s
              failure_mode_allow: false
              with_request_body:
                max_request_bytes: **4294967295**
                allow_partial_message: true

but when load the content to xds, the value exceeds the max value of Java's Int type.

[api/src/main/proto/envoy/config/filter/http/ext_authz/v2/ext_authz.proto]
uint32 max_request_bytes ;

uint32 corresponds to int in Java and int32 in Go, so this will result in an error when load the envoy.yaml.

I

主要语言
Java
星标
312
派生
150
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

envoyproxy/java-control-plane 的其他 Issue

查看 envoyproxy/java-control-plane 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。