Skip to content

libp2p-yamux: Allow to configure substreams as client or server #1690

@BlackYoup

Description

@BlackYoup

Hello,

This is a follow-up of this issue I opened in yamux: libp2p/rust-yamux#89

As described in libp2p/rust-yamux#89 (comment), my use case requires to implement the "who is the server / client" logic in case of simultaneous connect. It doesn't seem to be something that can be done currently.

From libp2p/rust-yamux#89 (comment)

libp2p-yamux needs to provide a way to override this. Ideally the transport builder also allows access to the connection info.

Would it make sense? If so, I can help and make a PR about it, I just need some pointers as to how I should do it if possible :)

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