leoxu1719 opened a new issue, #2619:
URL: https://github.com/apache/dubbo-go/issues/2619

   ### Environment
   
   <!-- 
   - Server: Dubbo-go, v3.0.5
   - Client: Dubbo-go, v3.0.5
   - Protocol: Triple
   - Registry: Nacos, v2.0.0
   -->
   
   - Server: 
   - Client: 
   - Protocol: 
   - Registry: 
   
   ### Issue description
   
   <!-- Here is a brief description about the issue. -->
   
   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
   <img width="475" alt="111" 
src="https://github.com/apache/dubbo-go/assets/23058712/bb18b06b-9397-4582-9328-94d136876edd";>
   
   but we found the sample in doc is :
   
![222](https://github.com/apache/dubbo-go/assets/23058712/71a997f7-4793-4afb-8ca9-cd995b1220d3)
   
   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
   
   <details><summary>Click me to check logs</summary>
   
   ```
   Copy logs to here.
   ```
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to