crowdsecurity / go-cs-bouncer

Go library to use crowdsec API.
MIT License
9 stars 11 forks source link

Close response body of first req #6

Closed sbs2001 closed 2 years ago

sbs2001 commented 2 years ago

The response of the first request is leaked. This fixes it. See https://stackoverflow.com/questions/40600463/is-it-enough-to-use-blank-identifier-for-http-response-to-prevent-memory-leaks-i