Blake Mizerany 03608cb46e
server: close response body on error (#6986)
This change closes the response body when an error occurs in
makeRequestWithRetry. Previously, the first, non-200 response body was
not closed before reattempting the request. This change ensures that
the response body is closed in all cases where an error occurs,
preventing leaks of file descriptors.

Fixes #6974
2024-09-26 12:00:31 -07:00
..
2024-07-26 14:14:48 -07:00
2024-08-01 17:06:06 -07:00
2024-08-15 10:29:14 -07:00
2024-08-28 09:32:57 -07:00
2024-08-28 09:32:57 -07:00
2024-08-01 17:06:06 -07:00
2024-07-15 15:26:16 -07:00
2024-09-11 16:36:21 -07:00