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 (#17087) · tuke-code/netty@01c93eb

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
@@ -798,6 +798,7 @@ private void readComplete(byte op, int res, int flags, short data) {
798798
// in the meantime. If this is the case we need to schedule the read to ensure
799799
// we do not stall.
800800
if (pending) {
801+
readPending = true;
801802
doBeginReadNow();
802803
}
803804
} else if (rearm) {
@@ -815,6 +816,7 @@ private void readComplete(byte op, int res, int flags, short data) {
815816
// in the meantime. If this is the case we need to schedule the read to ensure
816817
// we do not stall.
817818
if (pending) {
819+
readPending = true;
818820
doBeginReadNow();
819821
}
820822
} 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.