Structs§
Constants§
- HEADER_
MAGIC_ V1 - Characters match the US-ASCII representation of “PROXY”
- HEADER_
MAGIC_ V2 - Binary header format starts with a constant 12 bytes.
- HEADER_
MAGIC_ V1_ STR - HEADER_
MAGINC_ LEN - Length if the
HEADER_MAGIC_V2 - HEADER_
UNIX_ ADDR_ LEN - HEADER_
V1_ EOM - HEADER_
V1_ INET_ TCP4 - \x54 \x43 \x50 \x34
- HEADER_
V1_ INET_ TCP6 - \x54 \x43 \x50 \x36
- HEADER_
V1_ INET_ UNKNWON - HEADER_
V1_ MAX_ LEN - 108-byte buffer is always enough to store all the line and a trailing zero for string processing.
- HEADER_
V1_ WSPACE - MSG_
HEADER_ LOCAL_ V2 - Binary header format starts with a constant 12 bytes.