Skip to content

Add TLS connect timeout support #2072

@honsunrise

Description

@honsunrise

Feature Request

Crates

tonic

Motivation

Implement timeout controls in the TLS connection process to prevent the client from getting stuck due to the server becoming unresponsive while handling TLS.

Proposal

Add a timeout field in the ClientTlsConfig struct, and impl timeout control in TlsConnector::connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions