summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/rgw/rgw_file.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_file.h b/src/rgw/rgw_file.h
index 7980201b604..8e42d06fc5d 100644
--- a/src/rgw/rgw_file.h
+++ b/src/rgw/rgw_file.h
@@ -416,6 +416,9 @@ public:
s->info.request_params = "";
s->info.domain = ""; /* XXX ? */
+ /* XXX required in RGWOp::execute() */
+ s->content_length = bl.length();
+
// woo
s->user = user;
@@ -425,7 +428,6 @@ public:
virtual int get_data(buffer::list& _bl) {
/* XXX for now, use sharing semantics */
_bl.claim(bl);
- _bl.hexdump(cout);
return _bl.length();
}