Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply connect_timeout also to TLS handshake #3601

Merged
merged 1 commit into from
Jan 14, 2022

Commits on Jan 14, 2022

  1. 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 <tomoki.sekiyama@aktsk.jp>
    sekiyama58 committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    147d175 View commit details
    Browse the repository at this point in the history