Closed robert-zaremba closed 11 years ago
@robert-zaremba I'm pretty sure netcat
will only accept one connection.
statsdaemon
won't send any data if it hasn't collected anything...
The issue is that it breaks connection without sending anything. I was also testing it by connecting a statsd client and using netcat:
echo 'abc.def:10|c' | nc -w 1 -u localhost 8125
statsdaemon didn't send anything
I tested and was able to reproduce, thanks @robert-zaremba
It was spinning on ReadFromUDP()
from cleanup in #7 (see attached commit)
ready @jehiah
I want to use statsdaemon instead original statsd. But I can't managed it to work. I'm testing it with netcat:
I'm running simply with:
After each dial it breaks the connection, and desn't send anything: