From dfc2a9d94daa238ff912c0fbf3d52d020ec106bf Mon Sep 17 00:00:00 2001 From: Alexandru Sardan Date: Wed, 28 Feb 2024 19:20:20 +0000 Subject: [PATCH] Revert "io: push additional frames in the front of the ready queue" This reverts commit e85381c0eb68238e73c5eb69b55b9181b0a7aa96. --- src/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.rs b/src/io.rs index c92b09e..d156f4d 100644 --- a/src/io.rs +++ b/src/io.rs @@ -793,7 +793,7 @@ where // If there are more frames after this one, schedule the remainder. if let Some(next_frame_iter) = additional_frames { - self.ready_queue.push_front(next_frame_iter); + self.ready_queue.push_back(next_frame_iter); } else { // No additional frames. Check if sending the next frame finishes a multi-frame message. let about_to_finish = frame.header();