Skip to content

fix(msggateway): use configured WebSocket message size - #3769

Open
buvidk1234 wants to merge 1 commit into
openimsdk:mainfrom
buvidk1234:fix/msggateway-websocket-max-msg-len
Open

fix(msggateway): use configured WebSocket message size#3769
buvidk1234 wants to merge 1 commit into
openimsdk:mainfrom
buvidk1234:fix/msggateway-websocket-max-msg-len

Conversation

@buvidk1234

Copy link
Copy Markdown
Contributor

🅰 Please add the issue ID after "Fixes #"

Fixes #

Summary

  • Fix msggateway websocket max message length config not taking effect.
  • Store WithMessageMaxMsgLength on WsServer as wsMaxMsgLength, consistent with wsMaxConnNum.
  • Use ws.wsMaxMsgLength when creating websocket client connections instead of the fixed maxMessageSize constant.

@pull-request-size pull-request-size Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant