Skip to content

peer closed connection without sending TLS close_notify #157

@Firstyear

Description

@Firstyear

I am using tokio-rustls however when I drop the connection I recieve:

"peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof

Reading the tokio-rustls documentation, I can not find how I would have https://docs.rs/tokio-rustls/latest/tokio_rustls/client/struct.TlsStream.html send a close notify. There is a poll_shutdown, but there is no coresponding shutdown function that I could use to await on the close.

Should there be an async shutdown method on this?

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