Skip to content

Commit

Permalink
fix: Resolve linereader hanging on streams due to recent fix on missi…
Browse files Browse the repository at this point in the history
…ng lines
  • Loading branch information
driskell committed Feb 26, 2024
1 parent 1d8a57f commit bdc463c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lc-lib/harvester/linereader.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ func (lr *LineReader) fill() error {
// Return existing error - we will have errored with received data and
// returned a few times without error from that buffer, but now we need
// to propogate that error
// Clear the error though - so we can attempt another read if needed
// (for example if it was EWOULDBLOCK)
lr.err = nil
return lr.err
}

Expand Down

0 comments on commit bdc463c

Please sign in to comment.