Skip to content

Commit

Permalink
detach all time
Browse files Browse the repository at this point in the history
  • Loading branch information
joway committed Nov 28, 2023
1 parent 376fa78 commit 04120ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions poll_default_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ func (p *defaultPoll) handler(events []epollevent) (closed bool) {
totalRead += leftRead
}
// only close connection if no further read bytes
if totalRead == 0 {
p.appendHup(operator)
continue
}
//if totalRead == 0 {
p.appendHup(operator)
continue
//}
}
if triggerError {
// Under block-zerocopy, the kernel may give an error callback, which is not a real error, just an EAGAIN.
Expand Down

0 comments on commit 04120ba

Please sign in to comment.