Crates.io | proxy-header |
lib.rs | proxy-header |
version | 0.1.2 |
source | src |
created_at | 2023-11-17 21:41:26.645113 |
updated_at | 2024-07-14 17:17:02.632671 |
description | A library for parsing and serializing PROXY protocol headers |
homepage | |
repository | https://github.com/tibordp/proxy-header |
max_upload_size | |
id | 1039578 |
size | 73,707 |
This crate provides a decoder and encoder for the HAProxy PROXY protocol, which is used to preserve original client connection information when proxying TCP connections for protocols that do not support this higher up in the stack.
The PROXY protocol is supported by many load balancers and proxies, including HAProxy, Amazon ELB, Amazon ALB, and others.
This crate implements the entire specification, except parsing the AF_UNIX
address
type (the header is validated / parsed, but the address is not decoded or exposed in
the API).
This crate started as a fork of the proxy-protocol
crate, but has since been rewritten from scratch.
This crate is licensed under the MIT license. See the LICENSE
file for details.