We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L290
must be patched like below.
int code = (payload.length >= 2) ? ((payload[0] << 8) | (payload[1] & 0xFF)) & 0xFFFF : 0;
because, close status code is unsigned short value (0 ~ 65535). but java byte type is singed value (-128 ~ 127)
do test with status code 4504 or 65535.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L290
must be patched like below.
int code = (payload.length >= 2) ? ((payload[0] << 8) | (payload[1] & 0xFF)) & 0xFFFF : 0;
because, close status code is unsigned short value (0 ~ 65535). but java byte type is singed value (-128 ~ 127)
do test with status code 4504 or 65535.
The text was updated successfully, but these errors were encountered: