Skip to content

Where to reinstate SSL verification spec? #169

Open
@grapland0

Description

@grapland0

in example/cpp20_intro_tls.cpp, it does

conn->next_layer().set_verify_mode(asio::ssl::verify_peer);
conn->next_layer().set_verify_callback(verify_certificate);

before async_exec.

I wonder whether this survives auto-reconnect? If not, where should I reinstate these for new connections?

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