Commit Graph

3 Commits (079dbffe51a5e75b3f7a4fbb14eb3f3a0ec950d3)

Author SHA1 Message Date
David Wilson 4506c528ca issue #481: add test. 6 years ago
David Wilson 802de6a8d5 issue #406: clean up DiagLogStream handling and connect() failure.
When Stream.connect() fails, have it just use on_disconnect(). Now there
is a single disconnect cleanup path.

Remove cutpasted DiagLogStream setup/destruction, and move it into the
base class (temporarily), and only manage the lifetime of its underlying
FD via Side.close().  This cures another EBADF failure.
6 years ago
David Wilson fcdf4a0f35 Import missing stub-sudo.py. 6 years ago