From 3d49b73cbb06621256bbc7830836411e565e48ca Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Thu, 29 Nov 2018 01:05:31 +0000 Subject: [PATCH] rgw: fix issues with 'enforce bounds' patch The patch to enforce bounds on max-keys/max-uploads/max-parts had a few issues that would prevent us from compiling it. Instead of changing the code provided by the submitter, we're addressing them in a separate commit to maintain the DCO. Signed-off-by: Joao Eduardo Luis (cherry picked from commit 29bc434a6a81a2e5c5b8cfc4c8d5c82ca5bf538a) --- src/common/options.cc | 2 +- src/rgw/rgw_op.cc | 4 +++- src/rgw/rgw_op.h | 19 ++++++++++++------- src/rgw/rgw_rest.cc | 8 ++++++-- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 5b62a3f7c3d66..ab66704d3cdb8 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5710,7 +5710,7 @@ std::vector