automation-tests/pkg/api/server
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
..
idle Change http ConnState actions between new and active 2020-10-31 20:31:33 -06:00
docs.go Switch references of /var/run -> /run 2021-01-07 05:37:24 -05: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 swagger: update the libpodPutArchive operation verb 2021-03-02 13:09:50 +00:00
register_auth.go add /auth for docker compatibility 2021-03-12 10:39:15 -08:00
register_containers.go Remove resize race condition 2021-03-26 15:15:17 -04:00
register_distribution.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_events.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_exec.go Remove resize race condition 2021-03-26 15:15:17 -04:00
register_generate.go Merge pull request #9445 from jmguzik/no-header-info-for-systemd-generation 2021-02-22 13:44:43 -05:00
register_healthcheck.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_images.go Cleanup /libpod/images/load handler 2021-03-19 09:25:12 -07:00
register_info.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_manifest.go Merge pull request #9117 from tmds/swagger_missing_schema_properties 2021-02-22 11:03:14 -05:00
register_monitor.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_networks.go network prune filters for http compat and libpod api 2021-03-18 00:01:50 +01:00
register_ping.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_play.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_plugins.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_pods.go swagger: removes the schema type for PodSpecGenerator $ref 2021-02-24 18:34:57 +00:00
register_secrets.go Add version field to secret compat list/inspect api 2021-03-02 16:55:21 -05: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 bump go module to v3 2021-02-22 09:03:51 +01:00
register_version.go bump go module to v3 2021-02-22 09:03:51 +01:00
register_volumes.go bump go module to v3 2021-02-22 09:03:51 +01:00
server.go bump go module to v3 2021-02-22 09:03:51 +01:00
swagger.go add /auth for docker compatibility 2021-03-12 10:39:15 -08:00