Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auto-tls for websockets #2800

Draft
wants to merge 2 commits into
base: feat/add-auto-tls
Choose a base branch
from

Commits on Nov 3, 2024

  1. feat: auto-tls for websockets

    Starts a tcp server on the listen port and hands connections off
    to internal http or https servers (depdending on connection type).
    
    Upgrade requests from both servers are handled by a websocket
    server.
    
    The https server is enabled when either a secure websocket address
    is listened to explicitly, or when a TLS certificate is provisioned
    by another libp2p component, likely `@libp2p/auto-tls`.
    
    This means we don't need to add another port mapping for the https
    server since we run http and https over the same port.
    achingbrain committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    4b6431e View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    fc491dc View commit details
    Browse the repository at this point in the history