A pure Rust implementation of SCTP in Sans-IO style
webrtc-rs / sctp-proto Goto Github PK
View Code? Open in Web Editor NEWSCTP in Rust with Sans-IO
License: Apache License 2.0
SCTP in Rust with Sans-IO
License: Apache License 2.0
0.1.7/src/queue/reassembly_queue.rs:337:17:
attempt to add with overflow
stack backtrace:
0: rust_begin_unwind
at ./rustc/b51b6e8215aff52b3bb5afa74b3b4e8358600ca0/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at ./rustc/b51b6e8215aff52b3bb5afa74b3b4e8358600ca0/library/core/src/panicking.rs:72:14
2: core::panicking::panic
at ./rustc/b51b6e8215aff52b3bb5afa74b3b4e8358600ca0/library/core/src/panicking.rs:144:5
3: sctp_proto::queue::reassembly_queue::ReassemblyQueue::read
4: sctp_proto::association::stream::Stream::read
5: str0m::sctp::RtcSctp::do_poll
6: str0m::sctp::RtcSctp::poll
Hitting a panic here:
thread 'tokio-runtime-worker' panicked at 'attempt to add with overflow', /secret_path_here/d5cf6c4d7dd7baa0/sctp-proto-0.1.4/src/association/stream.rs:456:13
// RFC 4960 Sec 6.6
// Note: When transmitting ordered and unordered data, an endpoint does
// not increment its Stream Sequence Number when transmitting a DATA
// chunk with U flag set to 1.
if !unordered {
self.sequence_number += 1;
}
This should probably be a wrapping add?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.