Covers failure modes the happy-path tests miss: - log rotation (copytruncate): st_size shrinks under the forwarder, it resets offset=0 and reships the new contents instead of getting wedged past EOF; - listener restart: forwarder retries, resumes from the persisted offset, and the previously-acked lines are NOT duplicated on the master; - listener tolerates a well-authenticated client that sends a partial octet-count frame and drops — the server must stay up and accept follow-on connections; - peer_cn / fingerprint_from_ssl degrade to 'unknown' / None when no peer cert is available (defensive path that otherwise rarely fires).
9.2 KiB
9.2 KiB