GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IoUring: preserve readPending when rescheduling cancelled reads (#170… · netty/netty@77aba1a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • transport-classes-io_uring/src/main/java/io/netty/channel/uring
    • AbstractIoUringChannel.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java‎

Copy file name to clipboardExpand all lines: transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ private void readComplete(byte op, int res, int flags, short data) {
705705
// in the meantime. If this is the case we need to schedule the read to ensure
706706
// we do not stall.
707707
if (pending) {
708+
readPending = true;
708709
doBeginReadNow();
709710
}
710711
} else if (rearm) {
@@ -722,6 +723,7 @@ private void readComplete(byte op, int res, int flags, short data) {
722723
// in the meantime. If this is the case we need to schedule the read to ensure
723724
// we do not stall.
724725
if (pending) {
726+
readPending = true;
725727
doBeginReadNow();
726728
}
727729
} else if (multishot && rearm) {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.