spiegel_podman/pkg/api/server
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
..
idle Change http ConnState actions between new and active 2020-10-31 20:31:33 -06:00
docs.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
handler_api.go Use version package to track all versions 2021-03-03 17:03:19 -07:00
listener_api.go Make podman service log events 2020-11-19 14:42:56 -07:00
register_archive.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_auth.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_containers.go remote: always send resize before the container starts 2021-06-11 13:06:07 -04:00
register_distribution.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_events.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_exec.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_generate.go swagger: remove name wildcards 2021-04-07 15:21:44 +02:00
register_healthcheck.go swagger: remove name wildcards 2021-04-07 15:21:44 +02:00
register_images.go swagger: remove name wildcards 2021-04-07 15:21:44 +02:00
register_info.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_manifest.go Merge pull request #9121 from tmds/swagger_remove_name_wildcards 2021-04-08 13:04:23 -04:00
register_monitor.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_networks.go Fix network prune api docs 2021-06-11 13:06:06 -04:00
register_ping.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_play.go add --mac-address to podman play kube 2021-05-04 20:14:13 +02:00
register_plugins.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_pods.go [CI:DOCS] Correct status code for /pods/create 2021-04-12 09:33:51 -07:00
register_secrets.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_swagger.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_swarm.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_system.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_version.go [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00
register_volumes.go Reflect current state of prune implementation in docs 2021-04-13 09:16:25 +02:00
server.go Downgrade API service routing table logging 2021-05-25 15:15:50 -04:00
swagger.go swagger: update system version response body 2021-03-29 14:25:25 +00:00