Skip to content

Commit

Permalink
istream/FifoBufferSink: obey IstreamBucketList::ShouldFallback()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 17, 2023
1 parent c55dac9 commit 3d31a6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/istream/FifoBufferSink.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ FifoBufferSink::OnIstreamReady() noexcept
if (!handler.OnFifoBufferSinkData())
return IstreamReadyResult::CLOSED;

if (list.ShouldFallback())
result = IstreamReadyResult::FALLBACK;

return result;
}

Expand Down

0 comments on commit 3d31a6c

Please sign in to comment.