Skip to content

Convey client ALPN protocols in ClientConnection::new() instead of via ClientConfig #2260

@djc

Description

@djc

Currently ALPN protocols are configured in both ClientConfig and ServerConfig. For clients that would like to reuse the ClientConfig across different protocols (such as a DNS resolver), this is a little inconvenient because one ClientConfig per protocol is needed. In terms of the underlying work to be done, I think it would be straightforward to make alpn_protocols more like server_name, only on the client side.

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