Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 2.12 KB

File metadata and controls

48 lines (41 loc) · 2.12 KB

multiplex

A shared registry sub-schema (contract/registry/multiplex.json): its fields are substituted into the body of every scheme that refers to it.

← index · diagnosed problems

Core the schema was checked against: 1.14.2-lx.11

Body fields

  • enabled — Enable stream multiplexing.
    • Type: bool
    • Default: false
  • protocol — Multiplexing protocol.
    • Type: enum, "", h2mux, smux, yamux, normalized: trim_lower
    • Default: h2mux
    • If invalid: removed → type_invalid
  • max_connections — Maximum number of parallel connections.
    • Type: int, 0–…
    • Default: 0
    • If invalid: removed → type_invalid
  • min_streams — Minimum streams before opening a new connection.
    • Type: int, 0–…
    • Default: 0
    • If invalid: removed → type_invalid
  • max_streams — Maximum streams per connection.
    • Type: int, 0–…
    • Default: 0
    • If invalid: removed → type_invalid
  • padding — Pad multiplexed frames.
    • Type: bool
    • Default: false
  • brutal — TCP Brutal congestion control settings.
    • Type: object
  • brutal.enabled — Enable the TCP Brutal congestion control.
    • Type: bool
    • Default: false
  • brutal.up_mbps — Upload bandwidth in Mbps.
    • Type: int, 1–…
    • Required: the node is dropped without it
    • If invalid: removed → type_invalid
  • brutal.down_mbps — Download bandwidth in Mbps.
    • Type: int, 1–…
    • Required: the node is dropped without it
    • If invalid: removed → type_invalid