summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_http_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_http_client.h')
-rw-r--r--src/rgw/rgw_http_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_http_client.h b/src/rgw/rgw_http_client.h
index d55230095fb..cc69383b62d 100644
--- a/src/rgw/rgw_http_client.h
+++ b/src/rgw/rgw_http_client.h
@@ -10,10 +10,12 @@ class RGWHTTPClient
size_t send_len;
bool has_send_len;
protected:
+ CephContext *cct;
+
list<pair<string, string> > headers;
public:
virtual ~RGWHTTPClient() {}
- RGWHTTPClient(): send_len (0), has_send_len(false) {}
+ RGWHTTPClient(CephContext *_cct): send_len (0), has_send_len(false), cct(_cct) {}
void append_header(const string& name, const string& val) {
headers.push_back(pair<string, string>(name, val));