Skip to content

A global library init function? #266

Open
@bagder

Description

@bagder

(Discussion forked off a sub-thread in #261)

I think there's case for adding global library init and free functions to do global (single) initializations and then the corresponding cleanups.

OpenSSL has an initialization that's only necessary to do once per process, not once per context as we do now. It is even discouraged to get called without using the OpenSSL mutex locks when using threads, so it is also a reliability concern.

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