spiegel_podman/pkg/api/handlers
Mikhail Dmitrichenko 3ba76de619 api: avoid sizing logs channel from tail
The compat logs handler uses the tail query parameter both to select how
many log lines should be returned and as the capacity of the internal log
channel.

Only the former is part of the API semantics. The channel capacity should
not depend on a user-controlled value: negative values can produce an
invalid channel size, while very large values can cause excessive
allocation before any logs are read.

Use a small fixed-size buffer instead.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko00@bk.ru>
2026-06-26 10:31:13 +03:00
..
compat api: avoid sizing logs channel from tail 2026-06-26 10:31:13 +03:00
grpc RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
libpod Merge pull request #28696 from inknos/fix-quadlet-file-ordering-in-tar 2026-06-23 14:08:46 -04:00
swagger Fix image search swagger to return array 2026-06-18 14:57:19 +02:00
types RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
utils Add reasons to all staticcheck suppressions 2026-06-12 10:12:40 +02:00
decoder.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go compat API: populate HostConfig in container list response 2026-05-20 03:27:14 -04:00