Module rama::proxy::haproxy::protocol

Expand description

A Proxy Protocol Parser written in Rust. Supports both text and binary versions of the header protocol.

Forked from https://github.com/misalcedo/ppp (Apache-2.0 license), a crate originally developed by Miguel D. Salcedo. The fork happened on commit 28c5db92fda7337fc1ef36e6f19db96d511cd319.

Modules§

  • Version 1 of the HAProxy protocol (text version).
  • Version 2 of the HAProxy protocol (binary version).

Enums§

  • An enumeration of the supported header version’s parse results. Useful for parsing either version 1 or version 2 of the PROXY protocol.

Traits§

  • The canonical way to determine when a streamed header should be retried in a streaming context. The protocol states that servers may choose to support partial headers or to close the connection if the header is not present all at once.