summaryrefslogtreecommitdiffstats
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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rgw/rgw_http_client.h b/src/rgw/rgw_http_client.h
index cbe4f3d0312..63ea9000194 100644
--- a/src/rgw/rgw_http_client.h
+++ b/src/rgw/rgw_http_client.h
@@ -42,7 +42,8 @@ protected:
int init_request(const char *method,
const char *url,
- rgw_http_req_data *req_data);
+ rgw_http_req_data *req_data,
+ bool send_data_hint = false);
virtual int receive_header(void *ptr, size_t len) {
return 0;
@@ -264,7 +265,8 @@ public:
int set_threaded();
void stop();
- int add_request(RGWHTTPClient *client, const char *method, const char *url);
+ int add_request(RGWHTTPClient *client, const char *method, const char *url,
+ bool send_data_hint = false);
int remove_request(RGWHTTPClient *client);
/* only for non threaded case */