Skip to content

TlsAcceptor::accept timeout and shutdown #90

Open
@incker

Description

@incker

Hello!

I think that wrapping TlsAcceptor::accept in tokio::time::timeout can leads to memory leaks. But I am not sure.

Any way, it will be good to have some gracefull shutdown on timeout
Maybe there need a way to make TlsAcceptor::accept_with_timeout and in case of timeout acceptor will send shutdown().await

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