Repository navigation
将 Desktop 和 Web 企业应用代理请求体上限提高到 3 MiB - #231
Open
yaojin3616 wants to merge 1 commit into
Open
yaojin3616 wants to merge 1 commit into
yaojin3616 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Desktop 和 Web 的企业应用代理现在可转发最多 3 MiB 的请求体。两端按实际字节数检查,超出上限时在换取应用令牌前返回 413。桌面端将应用文本按 UTF-8 编码后以 Base64 传给本机代理,避免 JSON 转义使合法请求提前触及传输上限。
在
test/enterprise-apps-integration.test.mjs中新增 Desktop 和 Web 的文本、二进制边界用例,检查 3 MiB 时逐字节完整转发,以及多 1 字节时拒绝且无上游调用。相关 84 项测试、类型检查、按发布分支固定基准运行的边界门禁及差异检查均通过。