Skip to content

Commit

Permalink
transport-haproxy: add more information to the proxy detection failur…
Browse files Browse the repository at this point in the history
…e message

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
  • Loading branch information
bazsi committed Dec 3, 2024
1 parent 5ae6562 commit 672e0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transport/transport-haproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ _fetch_into_proxy_buffer(LogTransportHAProxy *self)
}
else
{
msg_error("Unable to determine PROXY protocol version");
msg_error("Unable to determine PROXY protocol version", evt_tag_mem("proxy_header", self->proxy_header_buff, PROXY_PROTO_HDR_MAGIC_LEN));
return STATUS_ERROR;
}
g_assert_not_reached();
Expand Down

0 comments on commit 672e0c2

Please sign in to comment.