POST & X-Copy-From can result in over quota with container quotas
Bug #1201875 reported by
Christian Schwede
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Christian Schwede |
Bug Description
Bug #1200271 reported a bug when using X-Copy-From together with account_quotas resulting in an over-quota.
This also affects container_quotas; additionally container_quotas doesn't check POST operations, for example from formpost middleware.
Changed in swift: | |
assignee: | nobody → Christian Schwede (cschwede) |
Changed in swift: | |
status: | New → In Progress |
Changed in swift: | |
milestone: | none → 1.11.0 |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/47560 github. com/openstack/ swift/commit/ 56440eb95da7950 6cc27d92e07f0f5 969cc683ce
Committed: http://
Submitter: Jenkins
Branch: master
commit 56440eb95da7950 6cc27d92e07f0f5 969cc683ce
Author: Christian Schwede <email address hidden>
Date: Wed Sep 18 19:49:32 2013 +0200
Handle X-Copy-From header in container_quota middleware
Content length of the copied object is checked before
allowing the copy request according to the container quota.
Closes-Bug: #1201875 c6c66eee04a5727 186ce0e56ae
Change-Id: If44b916791e94a