You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start statsite and send UDP messages to it (eg. "cn.nginx.latency:45|ms\n"), I see the following message on stdout:
statsite[7686]: Failed to recv() from connection [7]! Bad address.
Digging in a bit more, these start once statsd receives a malformed stat on the udp port. For example:
my.stats.are.bad
With no value causes close_client_connection(handle->conn); to be called on the UDP socket in conn_handler.c:308. This causes all further recv() calls to that socket to fail.
The text was updated successfully, but these errors were encountered:
Thanks for reporting. I added an integration test to confirm this and sure enough it's there.
The fix and the test for it are now in master. Please give that a try. I think the issue is closed now.
When I start statsite and send UDP messages to it (eg. "cn.nginx.latency:45|ms\n"), I see the following message on stdout:
Digging in a bit more, these start once statsd receives a malformed stat on the udp port. For example:
With no value causes
close_client_connection(handle->conn);
to be called on the UDP socket in conn_handler.c:308. This causes all further recv() calls to that socket to fail.The text was updated successfully, but these errors were encountered: