Skip to content

allow per request TLS settings #330

Closed
@weissi

Description

@weissi

Currently, we configure TLS globally per HTTPClient. Usually, that's fine but there are use cases where we need different TLS settings per server etc.

As @Lukasa point out, this unfortunately has consequences for the connection pool: Currently we key the pool with (protocol, host, port) which would then no longer work and we'd have to change the key to (protocol, host, port, TLS config) which doesn't sound too bad of a change and enables quite a few new use cases.

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