etsy/logster — pull request #48 by PeterScott (2013-03-22 01:16:24+00:00)
Title: Graphite socket bug -- send() vs sendall()

Use `socket.sendall()` instead of `socket.send()`, which sometimes truncates messages and causes weird intermittent failure. Also adds a try/finally block to make sure that the socket gets closed.