Skip to content
This repository was archived by the owner on Mar 21, 2020. It is now read-only.
This repository was archived by the owner on Mar 21, 2020. It is now read-only.

SSL_shutdown is incorrectly handled #94

Description

@jgrahamc

The return code from SSL_shutdown in kssl_thread.c is not correctly handled. In particular, the WANT_READ/WANT_WRITE return codes are not being handled and this could result in a dirty connection shutdown.

We need to correctly handle those conditions and wait for SSL_shutdown to return 1 before killing the TCP connection.

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

    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