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: dev@tomcat.apache.org
          Reporter: b.coughl...@gmail.com

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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to