![]() Otherwise we see errors like
```
ssh-session(sess-20230322T005655-5562985593): recording: error sending recording to <addr>:80: Post "http://<addr>:80/record": context canceled
```
The ss.ctx is closed when the session closes, but we don't want to break the upload at that time. Instead we want to wait for the session to
close the writer when it finishes, which it is already doing.
Updates tailscale/corp#9967
Signed-off-by: Maisem Ali <maisem@tailscale.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
incubator.go | ||
incubator_linux.go | ||
privs_test.go | ||
tailssh.go | ||
tailssh_test.go |