#3608, #3676: Close connection if HAProxy 2.0 message is a health check

This commit is contained in:
Outfluencer 2024-04-28 13:56:18 -07:00 committed by GitHub
parent 6335af840b
commit 6e1751733f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,6 +94,9 @@ public class HandlerBoss extends ChannelInboundHandlerAdapter
} ); } );
channel.setRemoteAddress( newAddress ); channel.setRemoteAddress( newAddress );
} else
{
channel.close();
} }
} finally } finally
{ {