dubbo-go
dubbo-go copied to clipboard
the default maxMsgLength for getty param
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
but we found the sample in doc is :
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.
The number on the document is misspelled. We would fix it.
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 ?