Commit Graph

2 Commits

Author SHA1 Message Date
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.
2018-11-04 13:48:34 +00:00
David Wilson fd326f5ad7 tests: stub tests for doas/mitogen_doas 2018-11-01 00:49:26 +00:00