spiegel_podman/pkg/api/handlers/compat
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
..
auth.go fix use with localhost (testing) 2021-03-12 10:48:03 -08:00
changes.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers.go fix: use UTC Time Stamps in response JSON 2021-05-10 11:21:14 +02:00
containers_archive.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_attach.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_create.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
containers_export.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_logs.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_pause.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_prune.go Containers prune endpoint should use only prune filters 2021-03-30 10:19:22 +02:00
containers_restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_start.go Add --requires flag to podman run/create 2021-04-06 14:01:31 -04:00
containers_stats.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_stop.go podman-remote stop -time 0 does not work 2021-03-05 10:39:17 -05:00
containers_top.go Trim white space from /top endpoint results 2021-03-30 10:42:06 -07:00
containers_unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
events.go Docker returns 'die' status rather then 'died' status 2021-04-28 15:56:19 -04:00
exec.go bump go module to v3 2021-02-22 09:03:51 +01:00
images.go Merge pull request #10265 from matejvasek/fix-get-multiple-imgs-compat 2021-05-08 06:20:19 -04:00
images_build.go podman-remote build should handle -f option properly 2021-06-11 11:14:04 -04:00
images_history.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_prune.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_push.go Use request context instead of background 2021-06-03 13:54:57 -04:00
images_remove.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
images_tag.go migrate Podman to containers/common/libimage 2021-05-05 11:30:12 +02:00
info.go bump go module to v3 2021-02-22 09:03:51 +01:00
networks.go Fix network prune api docs 2021-06-11 13:06:06 -04:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go remote: always send resize before the container starts 2021-06-11 13:06:07 -04:00
secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05:00
swagger.go Fix network prune api docs 2021-06-11 13:06:06 -04:00
system.go bump go module to v3 2021-02-22 09:03:51 +01:00
types.go V2 verify JSON output is consistent and doesn't drift 2020-05-28 16:20:29 -07:00
unsupported.go bump go module to v3 2021-02-22 09:03:51 +01:00
version.go [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
volumes.go Allow docker volume create API to pass without name 2021-04-27 10:32:06 -04:00