Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions sctp/src/association/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ impl Association {
// read from the underlying transport. We do this because the
// user data is passed to the reassembly queue without
// copying.
log::debug!("[{}] receiving {} bytes", name, n);
log::debug!("[{}] recving {} bytes", name, n);
let inbound = Bytes::from(buffer[..n].to_vec());
bytes_received.fetch_add(n, Ordering::SeqCst);

Expand Down Expand Up @@ -468,9 +468,6 @@ impl Association {
'outer: while !done.load(Ordering::Relaxed) {
//log::debug!("[{}] gather_outbound begin", name);
let (packets, continue_loop) = {
// Yielding here fixes a deadlock that crops up when requestor and responder are
// using the same tokio event loop as in examples/data=channels-flow-control
tokio::task::yield_now().await;
let mut ai = association_internal.lock().await;
ai.gather_outbound().await
};
Expand Down
Loading