Comment 50 for bug 1493303

Revision history for this message
Tristan Cacqueray (tristan-cacqueray) wrote : Re: Swift proxy memory leak on unfinished read (CVE-2016-0738)

Oups, their is now a conflict for stable/kilo backport (proposed in comment #43).

This patch do: in swift/common/request_helpers.py
+ def close(self):
+ """
+ Called when the client disconnect. Ensure that the connection to the
+ backend server is closed.
+ """
+ close_if_possible(self.app_iter)

While current stable/kilo has:
    def close(self):
        """
        Called when the client disconnect. Ensure that the connection to the
        backend server is closed.
        """
        if self.current_resp:
            close_if_possible(self.current_resp.app_iter)

Samuel, can you please fix that backport?