spiegel_podman/pkg/api
Paul Holzinger 26eae3bf89 remote: always send resize before the container starts
There is race condition in the remote client attach logic. Because the
resize api call was handled in an extra goroutine the container was
started before the resize call happend. To fix this we have to call
resize in the same goroutine as attach. When the first resize is done
start a goroutine to listen on SIGWINCH in the background and resize
again if the signal is received.

Fixes #9859

Signed-off-by: Paul Holzinger <pholzing@redhat.com>

<MH: Fixed cherry-pick conflicts>

Signed-off-by: Matthew Heon <mheon@redhat.com>
2021-06-11 13:06:07 -04:00
..
handlers remote: always send resize before the container starts 2021-06-11 13:06:07 -04:00
server remote: always send resize before the container starts 2021-06-11 13:06:07 -04:00
types podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
Makefile [CI:DOCS] Update swagger definition of inspect manifest 2021-04-07 09:18:23 -07:00
tags.yaml [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00