Skip to content

Commit

Permalink
Revert "io: push additional frames in the front of the ready queue"
Browse files Browse the repository at this point in the history
This reverts commit e85381c.
  • Loading branch information
Alexandru Sardan committed Feb 28, 2024
1 parent e85381c commit dfc2a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit dfc2a9d

Please sign in to comment.