API - system service panics if events connection closes #6805
Labels
HTTP API
Bug is in RESTful API
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The system service command will crash (panic) if the events API was called, and an event is generated after the connection has closed
Steps to reproduce the issue:
podman system service -t 0 tcp:localhost:7555
curl http://localhost:7555/v1.0.0/libpod/events
ctrl-c
or SIGINT the curl commanddo anything to generate an event output (e.g. restart a container)
Describe the results you received:
Describe the results you expected:
continue to run
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
physical machine
The text was updated successfully, but these errors were encountered: