Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply connect_timeout also to TLS handshake
When out_forward plugin uses TLS transport, if the TLS handshake takes a long time or hangs, the flusher (or event_loop for heartbeat) thread waits forever even though connect_timeout is specified. This fixes the problem by applying connect_timeout to TLS handshake. To avoid breaking environments configured to use the short connect_timeout, the TCP connection time is counted independently of the TLS handshake time. Signed-off-by: Tomoki Sekiyama <[email protected]>
- Loading branch information