Skip to content

Make tunnel-client proxy HTTP aggregator max content length configurable#3184

Closed
hengyunabc wants to merge 1 commit into
masterfrom
codex/review-pull-request-#3183
Closed

Make tunnel-client proxy HTTP aggregator max content length configurable#3184
hengyunabc wants to merge 1 commit into
masterfrom
codex/review-pull-request-#3183

Conversation

@hengyunabc
Copy link
Copy Markdown
Collaborator

Motivation

  • Fix the JFR download size limitation in tunnel-client by exposing the proxy HTTP aggregator maximum content length as a configurable JVM property so large JFR payloads can be accepted without altering other modules' defaults.

Description

  • Added a new constant in common/src/main/java/com/taobao/arthas/common/ArthasConstants.java, wired the JVM system property into tunnel-client/src/main/java/com/alibaba/arthas/tunnel/client/ProxyClient.java to set the aggregator max content length, added tunnel-client/src/test/java/com/taobao/arthas/common/ArthasConstantsTest.java to verify the constant, and updated tunnel-client/pom.xml as needed.

Testing

  • Executed unit tests for the tunnel-client module with mvn -pl tunnel-client test, including ArthasConstantsTest, and all tests passed.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant