https://bz.apache.org/bugzilla/show_bug.cgi?id=58166
Bug ID: 58166
Summary: Tomcat does not support application-specific close
codes
Product: Tomcat 8
Version: trunk
Hardware: PC
Status: NEW
Severity: minor
Priority: P2
Component: WebSocket
Assignee: [email protected]
Reporter: [email protected]
org.apache.tomcat.websocket.Util.getCloseCode() converts codes between 3000 and
4999 to 1000. This behaviour is non-standard and differs from the behaviour of
javax.websocket.CloseReason$CloseCodes which returns the correct close codes.
return new CloseReason.CloseCode() {
@Override
public int getCode() {
return code;
}
};
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]