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
There is an assertion on kcp.rs:46:5 from crate kcp:
kcp
/// Read `conv` from raw buffer pub fn get_conv(mut buf: &[u8]) -> u32 { assert!(buf.len() >= KCP_OVERHEAD as usize);
When the receiver gets hit with a packet smaller than KCP_OVERHEAD, the whole process will just die.
KCP_OVERHEAD
I triggered this by simply nc the port with some random characters.
nc
The text was updated successfully, but these errors were encountered:
c909fd0
@zonyitoo I bumped in this bug again and realized that this fix has not been in crates.io yet. It will be great to release it, huge thanks!
Sorry, something went wrong.
released v0.9.5.
No branches or pull requests
There is an assertion on kcp.rs:46:5 from crate
kcp
:When the receiver gets hit with a packet smaller than
KCP_OVERHEAD
, the whole process will just die.I triggered this by simply
nc
the port with some random characters.The text was updated successfully, but these errors were encountered: