Fix hanging in FIFO streams

This commit is contained in:
Jarred Sumner
2022-11-28 18:31:12 -08:00
parent 77d0828179
commit b337e36da1

View File

@@ -3629,7 +3629,8 @@ pub const FIFO = struct {
},
.hup => {
poll.flags.insert(.hup);
return .done;
poll.flags.insert(.readable);
return null;
},
else => {
return .pending;