diff --git a/swift/common/request_helpers.py b/swift/common/request_helpers.py index f12f876..b4d97e0 100644 --- a/swift/common/request_helpers.py +++ b/swift/common/request_helpers.py @@ -496,5 +496,6 @@ class SegmentedIterable(object): Called when the client disconnect. Ensure that the connection to the backend server is closed. """ + close_if_possible(self.app_iter) if self.current_resp: close_if_possible(self.current_resp.app_iter)