14 protected void channelRead0(
final ChannelHandlerContext ctx,
15 final HAProxyMessage msg) {
16 switch (msg.command()) {
17 case LOCAL -> ctx.close();
19 final String sourceAddress = msg.sourceAddress();
20 if (sourceAddress !=
null) {
21 ctx.channel().attr(
Config.SOURCE_ADDRESS).set(sourceAddress);