mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
socat was used with the ${MASTER_SOCKET} variable directly, letting it
auto-detect the network protocol. However, when given a plain filename
that does not point to a UNIX socket, socat would create a file at that
path instead of reporting an error.
To fix this, the address type is now determined explicitly: if
MASTER_SOCKET points to an existing UNIX socket file (checked with -S),
UNIX-CONNECT: is used; if it matches a <host>:<port> pattern, TCP: is
used; otherwise an error is reported. The socat_addr variable is also
properly scoped as local to the reload() function.
Could be backported in 3.3.
|
||
|---|---|---|
| .. | ||
| cli | ||
| dyncookie | ||
| halog | ||
| iprange | ||
| netsnmp-perl | ||
| release-estimator | ||
| selinux | ||
| syntax-highlight | ||
| systemd | ||
| wireshark-dissectors/peers | ||