build_proxy_v2_local_header

Function build_proxy_v2_local_header 

Source
pub fn build_proxy_v2_local_header() -> Vec<u8> 
Expand description

Builds a minimal PROXY protocol v2 header for LOCAL command (no address info)

This is used when the connection is health-check or internal and doesn’t need client address information passed to the backend.