segmentio/go-loggly — pull request #3 by ludei (2014-06-11 11:38:27+00:00)
Title: Close the response body so it doesn't leak file descriptors

While testing go-loggly we've found the number of open file descriptors increases every 5 seconds and it never goes down, until the program starts spewing "pipe: too many open files" errors.
This simple fix seems to keep the open descriptors count stable.