ReverseProxy: Fix a gun connection leak when there is an error with no
authorrinpatch <rinpatch@sdf.org>
Sun, 26 Jul 2020 16:18:21 +0000 (19:18 +0300)
committerrinpatch <rinpatch@sdf.org>
Sun, 26 Jul 2020 16:30:17 +0000 (19:30 +0300)
body

- Modify `close/1` function to do the same thing it does for hackney,
which is - close the client rather than the whole connection
- Release the connection when there is no body to chunk


No differences found