Expand description
A representation of Sōzu’s state
Structs§
- Config
State - The
ConfigStaterepresents the state of Sōzu’s business, which is to forward traffic from frontends to backends. Hence, it contains all details about:
Enums§
Functions§
- merge_
custom_ http_ answers - Validate a
sozu_id_headervalue against RFC 9110 §5.1 header-name grammar. - validate_
alpn_ protocols - Validate an
AlpnProtocolspatch: each value must be “h2” or “http/1.1”. Empty values vec is allowed (reset-to-default). - validate_
h2_ flood_ knobs_ http - Validate all H2 flood knobs in an HTTP listener patch.
- validate_
h2_ flood_ knobs_ https - Validate all H2 flood knobs in an HTTPS listener patch (same rules as HTTP).
- validate_
sozu_ id_ header - Validate a
sozu_id_headervalue against the RFC 9110 §5.1tokengrammar:
Type Aliases§
- Cluster
Id - To use throughout Sōzu