Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the default maxMsgLength for getty param #2619

Open
leoxu1719 opened this issue Mar 12, 2024 · 2 comments
Open

the default maxMsgLength for getty param #2619

leoxu1719 opened this issue Mar 12, 2024 · 2 comments

Comments

@leoxu1719
Copy link

Environment

  • Server:
  • Client:
  • Protocol:
  • Registry:

Issue description

when the payload exceed 512kb, the error prompt:

getty/listener.go:343
WritePkg error: Data length 525511 too Large, max payload 102400, &remoting.Response(ID:0, Version:"2.0.2"
SerialID:0x2, Status:0x14

I debug the maxMsgLength in gettySessionParam is 102400
111

but we found the sample in doc is :
222

so that if we don't changed the config for maxMsgLength, the response could not return and error throw when the response length exceed 100kb

Logs

Click me to check logs
Copy logs to here.
@DMwangnima
Copy link
Contributor

The number on the document is misspelled. We would fix it.

@leoxu1719
Copy link
Author

The number on the document is misspelled. We would fix it.

so what are the default and advanced value for this maxMsgLen param , and why we process the request that contains 512kb length for the response, could be successfully return in java version , instead of dubbo-go ? what's different for the config ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants