diff options
author | rinpatch <rinpatch@sdf.org> | 2020-07-26 19:18:21 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-07-26 19:30:17 +0300 |
commit | d4fbec62a37f229108a4ae5ef069042a8aa4aa22 (patch) | |
tree | 44d257a48e6433f621c74da7953504725edaa92b /test/web/common_api/common_api_utils_test.exs | |
parent | ce9647aed786368536057492604e8ec99cd7aee2 (diff) | |
download | pleroma-d4fbec62a37f229108a4ae5ef069042a8aa4aa22.tar.gz pleroma-d4fbec62a37f229108a4ae5ef069042a8aa4aa22.zip |
ReverseProxy: Fix a gun connection leak when there is an error with no
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
Diffstat (limited to 'test/web/common_api/common_api_utils_test.exs')
0 files changed, 0 insertions, 0 deletions