Skip to content

Using multiplex::Client with an unreliable transport? #25

@vartiait2

Description

@vartiait2

Hi!

I noticed that currently ClientInner in src/multiplex/client.rs assumes always to receive a reply from the underlying transport.
However, when using e.g. tokio_util::udp::UdpFramed as a transport, there won't be any guarantee that a reply will arrive
and Pending requests will be left within ClientInner's responses VecDeque.

Should the multiplexing capable transport used implement a per request timeout feature or what would be a better solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions