Hi,
I have compiled haproxy of version2.2-dev8 using Cygwin, in order to use it as
a load balancer in Windows 10. I want to send a unique ID generated using the
frontend's "unique-id-format" within the PROXYv2 header. However, it reports an
error:
0 [main] haproxy 1076 cygwin_exception::open_stackdumpfile: Dumping stack trace
to haproxy.exe.stackdump
Please help me solving this problem. Thank you so much!
Here is my configuration:
global
maxconn 1592
nbproc 1
log 127.0.0.1 local0 info
daemon
defaults
log global
log-format |%ts|%T|%ms|%Tt|%ci|%Tc|%Td|%Th|%Tw|%U|%b|%bi|%bp|%cp|%rt|%ID
timeout connect 5000
timeout client 50000
timeout server 50000
frontend local
mode tcp
bind *:443
unique-id-format %{+X}o\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid
unique-id-header X-Unique-ID
default_backend web_servers
backend web_servers
mode tcp
balance roundrobin
server server1 XXX.XXX.XXX.XXX:443 send-proxy-v2 proxy-v2-options unique-id
check inter 1500 rise 3 fall 3 weight 1
listen admin_stats
stats enable
bind *:8200
mode http
maxconn 10
stats refresh 30s
stats uri /admin?stats
stats realm haproxys
stats hide-version
timeout connect 10s
timeout client 1m
timeout server 1m
Best regards,
Lu