You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function did_process_binary in src/services/websocket.rs returns true even if an actual message data was a text, but resulting Vec, which passed as Option to OUT::from(data) is empty.
Environment:
Yew version 0.13.2
Rust version 1.41.1
web-sys version 0.3.36
OS: linux
Browser chromium
Browser version 80
A potential fix is to return false in did_process_binary if result of Uint8Array::new(&bytes).to_vec() is empty.
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
The text was updated successfully, but these errors were encountered:
Function
did_process_binary
insrc/services/websocket.rs
returns true even if an actual message data was a text, but resulting Vec, which passed as Option to OUT::from(data) is empty.Environment:
web-sys
version 0.3.36A potential fix is to return false in
did_process_binary
if result ofUint8Array::new(&bytes).to_vec()
is empty.Questionnaire
The text was updated successfully, but these errors were encountered: