Skip to content

Commit

Permalink
Merge pull request #403 from yicixin/fix-AsyncRead-yicixin
Browse files Browse the repository at this point in the history
fix: AsyncRead in oneShot should return
  • Loading branch information
lesismal authored Mar 15, 2024
2 parents 5bf91e6 + 8c35c46 commit 0af6f80
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 0af6f80

Please sign in to comment.