Skip to content

Improve SSL disconnection logic #24

Description

@csmith

At present we close the underlying socket connection whenever we want to disconnect.

While this ensures we always end up disconnected instead of hanging stupidly, it means we're not closing SSL connections properly which may upset some servers that actually play nice.

We could try shutting down the SSL socket gracefully in a separate thread, and if that doesn't work fast enough then result to closing the underlying socket

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions