>> I understand that in the current implementation of haproxy ONLY the first 
>> port (8162) is used for the health-check.
>
> There's no such "first port", there's not even any configured port when
> you're mapping ports. There's just an offset applied to the incoming
> connection's destination port.
>
> Willy

When the server line configuration parsing is done, and if a check is
configured and if the check has no port (which is the case where
Andreas falls) and if the server is configured in a listen section,
then HAProxy parses the bind list available in this listen section to
pick up the first one it can get a port information from.
The "if (do_check)" statement in src/server.c.

Baptiste

Reply via email to