mirror of https://github.com/docker/compose.git
6204fb1c94
We can't assume we receive container logs line by line. Some framework won't buffer output and will send char by char, and we also can receive looong lines which get buffered to 32kb and then cut into multiple logs. This assumes we will catch container streams being closed before we receive a die event for container, which could be subject to race condition, but at least the impact here is minimal and the fix works for reproduction examples provided in linked issues. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> |
||
---|---|---|
.. | ||
durationutils.go | ||
safebuffer.go | ||
set.go | ||
set_test.go | ||
slices.go | ||
slices_test.go | ||
stringutils.go | ||
writer.go | ||
writer_test.go |