summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common/middleware/gswauth/swauth/middleware.py
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2016-03-03 17:25:48 +0530
committerThiago da Silva <thiago@redhat.com>2016-03-08 11:01:38 -0800
commit25188ca49950267a74b35aab1359bd5d3b919fc7 (patch)
treeb8b4ec27e3ddbf9a3ecf7c2ae75d28cf6bebc94b /gluster/swift/common/middleware/gswauth/swauth/middleware.py
parent7392f4626609da910a2c98c14b8380419613635d (diff)
Fix dup fd leak
A fd was not being closed after it was duplicated. This code path can be easily hit when doing a GET on a file that needs Etag (md5sum) to be recalculated. Change-Id: Ib2e10d990b9b2e1fa85d0079767892de8c8d4eec Signed-off-by: Prashanth Pai <ppai@redhat.com> Reviewed-on: http://review.gluster.org/13593 Reviewed-by: Thiago da Silva <thiago@redhat.com> Tested-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'gluster/swift/common/middleware/gswauth/swauth/middleware.py')
0 files changed, 0 insertions, 0 deletions