Set reason for WebSocket CloseStatus.SESSION_NOT_RELIABLE
See gh-29220
This commit is contained in:
committed by
rstoyanchev
parent
27fdf56ed5
commit
1de9426df0
@@ -145,7 +145,8 @@ public final class CloseStatus implements Serializable {
|
||||
* client that may be done during normal shutdown.
|
||||
* @since 4.0.3
|
||||
*/
|
||||
public static final CloseStatus SESSION_NOT_RELIABLE = new CloseStatus(4500);
|
||||
public static final CloseStatus SESSION_NOT_RELIABLE = new CloseStatus(4500)
|
||||
.withReason("Failed to send message within the configured send limit");
|
||||
|
||||
|
||||
private final int code;
|
||||
|
||||
Reference in New Issue
Block a user