diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-01-26 15:38:05 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-01-27 09:58:27 +0100 |
commit | c63599d361396c8bd02cc4bfccff0e7d97653146 (patch) | |
tree | 62ed12b4379a011fb576eb01cb7dc277ca5da656 /cmd/podman/early_init_unsupported.go | |
parent | c3b39842ce76e3e3bfc843abfebeeb603f04591d (diff) | |
download | podman-c63599d361396c8bd02cc4bfccff0e7d97653146.tar.gz podman-c63599d361396c8bd02cc4bfccff0e7d97653146.tar.bz2 podman-c63599d361396c8bd02cc4bfccff0e7d97653146.zip |
remote exec: write conmon error on hijacked connection
Make sure to write error from conmon on the hijacked http connection.
This fixes issues where errors were not reported on the client side,
for instance, when specified command was not found on the container.
To future generations: I am sorry. The code is complex, and there are
many interdependencies among the concurrent goroutines. I added more
complexity on top but I don't have a good idea of how to reduce
complexity in the available time.
Fixes: #8281
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman/early_init_unsupported.go')
0 files changed, 0 insertions, 0 deletions