docs: document changes to ssh+stdinserver transport implementation: ccd062e

This commit is contained in:
Christian Schwarz
2018-02-17 15:15:31 +01:00
parent 759dae4552
commit 94967b596c
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ func (j *SourceJob) handleConnection(rwc io.ReadWriteCloser, task *Task) {
// wait for client to close connection
// FIXME: we cannot just close it like we would to with a TCP socket because
// FIXME: sshbytestream's Close() may overtake the remaining data in the pipe
// FIXME: go-nettsh's Close() may overtake the remaining data in the pipe
const CLIENT_HANGUP_TIMEOUT = 1 * time.Second
task.Log().
WithField("timeout", CLIENT_HANGUP_TIMEOUT).