spiegel_podman/pkg/api/handlers/compat
Daniel J Walsh dcabf6dd71
Remove resize race condition
Since podman-remote resize requests can come in at random times, this
generates a real potential for race conditions. We should only be
attempting to resize TTY on running containers, but the containers can
go from running to stopped at any time, and returning an error to the
caller is just causing noice.

This change will basically ignore requests to resize terminals if the
container is not running and return the caller to success.  All other
callers will still return failure.

Fixes: https://github.com/containers/podman/issues/9831

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2021-03-26 15:15:17 -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 containers list/prune http api filter behaviour 2021-03-20 22:56:01 +01: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 bump go module to v3 2021-02-22 09:03:51 +01: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 Fix containers list/prune http api filter behaviour 2021-03-20 22:56:01 +01:00
containers_restart.go bump go module to v3 2021-02-22 09:03:51 +01:00
containers_start.go bump go module to v3 2021-02-22 09:03:51 +01: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 bump go module to v3 2021-02-22 09:03:51 +01:00
containers_unpause.go bump go module to v3 2021-02-22 09:03:51 +01:00
events.go Fix volumes and networks list/prune filters in http api 2021-03-19 00:09:29 +01:00
exec.go bump go module to v3 2021-02-22 09:03:51 +01:00
images.go Correct compat images/create?fromImage response 2021-02-26 03:08:10 +01:00
images_build.go fixup 2021-03-23 18:07:36 +01:00
images_history.go bump go module to v3 2021-02-22 09:03:51 +01:00
images_prune.go Fix filters in image http compat/libpod api endpoints 2021-03-25 12:29:53 +01:00
images_push.go Correct compat images/{name}/push response 2021-03-07 02:38:01 +01:00
images_remove.go bump go module to v3 2021-02-22 09:03:51 +01:00
images_save.go Refactor handler packages 2020-03-10 08:03:41 -07:00
images_search.go bump go module to v3 2021-02-22 09:03:51 +01:00
images_tag.go bump go module to v3 2021-02-22 09:03:51 +01:00
info.go bump go module to v3 2021-02-22 09:03:51 +01:00
networks.go Fix volumes and networks list/prune filters in http api 2021-03-19 00:09:29 +01:00
ping.go Jira RUN-1106 System handlers updates 2020-12-05 16:41:57 -07:00
resize.go Remove resize race condition 2021-03-26 15:15:17 -04:00
secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05:00
swagger.go bump go module to v3 2021-02-22 09:03:51 +01: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 Use version package to track all versions 2021-03-03 17:03:19 -07:00
volumes.go Fix volumes and networks list/prune filters in http api 2021-03-19 00:09:29 +01:00