Skip to content

client: port AutoTLS.AutoWSS from Kubo 0.33 #44

@lidel

Description

@lidel

Kubo has extra logic behind AutoTLS.AutoWSS feature that inspect user-defined listeners, and if no explicit /ws listener is defined, it will append one to every valid /tcp port.

This logic should be (ideally) moved to p2p-forge/client, inside if returned libp2p.AddrsFactory (produced in createAddrsFactory), allowing people who use raw go-libp2p (libp2p/go-libp2p#3103) to benefit from improved UX/DX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps up
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions