Skip to content

Provide a hook for arbitrary SSL verification methods #244

Closed
@Manishearth

Description

@Manishearth

Currently we use a VerifyCallback, however there's a lot of in built verification in SslContext (eg you can just provide it with a root CA file and it does the rest). Making HttpConnector take a fn(&mut SslContext) would be more useful (one can still attach verify callbacks directly, so no functionality is lost)

I have a pre-unboxed closure patch here, if its design feels okay I can move it to unboxed closures.

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