We use HAProxy to forward incoming TCP connections to a separate server that uses raw TCP. The problem we see is that the client connection is accepted, then closed, and then rejected immediately. Since we have enabled health checks, is there a way for HAProxy to unlink the port so that the original connection fails?
listen custom_forward mode tcp bind *:11144 default-server inter 10m fastinter 20s downinter 1m maxconn 100 server custom_server hostname:10144 check
Aron
source share