Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Barlow
9e5f2d663d close socket fd if we can't connect it 2024-09-15 22:09:31 +01:00
Daniel Barlow
21eeb1671e print diagnostic when eof on stderr 2024-09-15 21:59:24 +01:00
Daniel Barlow
44762d38fc write start cookie when socket connect succeeds 2024-09-15 21:54:21 +01:00
Daniel Barlow
1f6cfc3679 extract method is_connected 2024-09-15 21:40:05 +01:00
Daniel Barlow
8ec00f1710 improve error message 2024-09-15 21:37:04 +01:00
Daniel Barlow
6a6dd32dea make pollfd array global 2024-09-15 21:32:48 +01:00
Daniel Barlow
9b1fc11a59 logshipper/logtee :copy stdin to stdout & to a unix socket if present
first draft
2024-09-15 19:33:21 +01:00