Skip to content

How to detect disconnection? #99

@dizda

Description

@dizda

Dear all,

I initialize a connection between my local (client) to a remote server (server) using yamux.

Then I switch my computer's connection off, and my local client remain connected forever while yamux or TcpStream should have triggered a disconnection.

How could I solve that?
Shouldn't yamux be capable of detecting that?

It would be better to detect without sending any data, cf. tokio-rs/tokio#2228

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