mirror of
https://github.com/Febbweiss/logstash-forwarder-java.git
synced 2026-03-04 14:15:42 +00:00
The original multi-line implementation had a problem: multi-line events got sliced in two when they crossed the spool size barrier, because the code still counted each line as a spool entry. With multi-line entries that is no longer correct. This fix simply reduces the spaceLeftInSpool variable only after adding an entry.