summaryrefslogtreecommitdiff
path: root/tcpproxy_test.go
diff options
context:
space:
mode:
authorAdamEr8 <[email protected]>2019-02-15 09:07:18 +0200
committerDave Anderson <[email protected]>2021-08-24 10:40:53 -0700
commit0f9bceda1a83b4a17e52ba327a6fb2561285ee1a (patch)
treefffe01810c1494e6fc12119ec35d876af15fdf4b /tcpproxy_test.go
parent2825d768aaaef27e854631354415484406b1bc92 (diff)
Fixed HAProxy's PROXY protocol v1 Human-readable header format in DialProxy
original code sent the header in the format: PROXY <family> <srcIP> <srcPort> <dstIP> <dstPort> according to docs header format should be: PROXY <family> <srcIP> <dstIP> <srcPort> <dstPort> this is according to: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt section 2.1. Human-readable header format (Version 1).
Diffstat (limited to 'tcpproxy_test.go')
0 files changed, 0 insertions, 0 deletions