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

Transit: protocol improvements #16

Merged
merged 5 commits into from
Feb 2, 2022
Merged

Transit: protocol improvements #16

merged 5 commits into from
Feb 2, 2022

Commits on Oct 8, 2021

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

Commits on Jan 13, 2022

  1. Transit: document the "for $side" in the relay handshake

    We already do this everywhere anyways, so this is more a correction
    of the documentation than a change to the protocol. Therefore, I've
    omitted describing any backwards compatibility handling.
    piegamesde committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    91c15f7 View commit details
    Browse the repository at this point in the history
  2. Transit: set an upper limit on message size

    Most messages have structured content (JSON, …) and require a lot more resources
    to be parsed than is needed to only hold the byte buffer in memory.
    Therefore, 4GiB is totally unrealistic and there is need for an
    artificially reduced upper bound.
    piegamesde committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    c9bd19b View commit details
    Browse the repository at this point in the history
  3. Transit: remove message length prefix on non-TCP connections

    We use WebSockets as an example, but actually this applies to all protocols
    that offer their own message framing
    piegamesde committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    4acdcd3 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2022

  1. Transit: add relay-v2

    `relay-v2` is the same as `relay-v1`, but with enhanced hints encoding
    that allows for different ways to connect to a relay server become
    possible. Furthermore, relay hints may provide a human readable name.
    
    Additionally, a few things are moved around between files, both
    to put things where they belong and in anticipation of future
    features.
    piegamesde committed Feb 2, 2022
    Configuration menu
    Copy the full SHA
    af046df View commit details
    Browse the repository at this point in the history