Skip to content

multistream-select interoperability issue with JS #1241

@tomaka

Description

@tomaka

When js-libp2p connects to a listener, it starts by sending out /multistream-select/1.0.0, then waits for the remote to send back /multistream-select/1.0.0, then only sends out the requested protocol.

However, the rust-libp2p listener reads /multistream-select/1.0.0, then sends out /multistream-select/1.0.0, but doesn't immediately flush that to the TCP socket. It only flushes after having sent back an answer to the requested protocol.

cc @raulk @romanb

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