#2682·spdlog

Add timeout parameter to tcp_client::connect()

Author: bburnokCreated Mar 22, 2023Updated Aug 11, 2026
Labelsenhancement

If the syslog server becomes unreachable, tcp_client::connect can take up to 2 minutes to throw a Connection timed out error. Please make the timeout value configurable to avoid stalling the application for so long.