bug: resp body not close
csimplestring opened this issue · comments
Hi, firstly thanks for the code!
When I checked the client code, I found that all the response body from http client is not closed. Typically, there should be a line of
defer resp.Body.Close()
Otherwise it causes resource leak.
D'oh! What a shame...
Thanks a lot! I'll fix it ASAP