Commit Graph

3 Commits

Author SHA1 Message Date
Tony Garnock-Jones 0c05a400f8 Fix bugs in port-closure-detection logic.
To begin with, I was looking at closure of the wrong port. Fixing
that, however, still left me with the problem that there was no event
for closure of the downstream port that I could use, so the
input-cooker has to poll to see if downstream has indicated that it
should be shut down. Finally, the actual port-closing code was doing
different things in different cases, so I've straightened that out as
well, and there was a race between closing raw-out in the
output-cooker and writing some feedback to it in the input-cooker, so
I've added a with-handlers to ignore write errors in the input-cooker.
2011-11-04 13:57:42 -04:00
Tony Garnock-Jones ad7b120bf6 Support cooker prompts in ssh-service. 2011-10-27 15:24:34 -04:00
Tony Garnock-Jones 128ef2d43c Split out yet another layer, a combination of code from ssh-session and repl-server. 2011-10-27 14:15:44 -04:00