Incorrect max connection error code and empty reason is reported to the client
AkbaraliShaikh opened this issue · 0 comments
AkbaraliShaikh commented
Description
Incorrect max connection error code and empty reason is reported to the client
To Reproduce
Step 1: Set the env variable SERVER_WEBSOCKET_MAX_CONN = 1
Step 2: Create the multiple connections.
Expected vs actual behavior
expected: Code_CODE_MAX_CONNECTION_LIMIT_REACHED
actual: Code_CODE_MAX_USER_LIMIT_REACHED
Expected behavior
When the max connection threshold is reached the client should received the Code_CODE_MAX_USER_LIMIT_REACHED error code and the reason message instead of empty