Closed carbocation closed 7 years ago
Mind rebasing this onto master (or checking the box that gives maintainers write access, so I can do taht for you)? Thanks!
From what I can see, the "allow edits from maintainers" box is already checked. If it's not working, I can also rebase when I get home (may be ~36h from now, hooray physicians' hours).
The function
decodeResponse()
in twitter.go did not close the response body in all circumstances. Closure of Response.Body is required as per net/http, even when the body is not used.On my long-running server-side app, this led to infinite memory growth over time.