Skip to content

Commit

Permalink
fix: AsyncRead in oneShot should return
Browse files Browse the repository at this point in the history
  • Loading branch information
壹次心 committed Mar 15, 2024
1 parent 5bf91e6 commit 8c35c46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conn_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func (c *Conn) AsyncRead() {
}
c.ResetPollerEvent()
})
return
}

cnt := atomic.AddInt32(&c.readEvents, 1)
Expand Down

0 comments on commit 8c35c46

Please sign in to comment.