Skip to content

Set reason for WebSocket CloseStatus.SESSION_NOT_RELIABLE #29220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down