diff options
author | Yehuda Sadeh <yehuda@redhat.com> | 2015-07-11 02:10:25 +0200 |
---|---|---|
committer | Yehuda Sadeh <yehuda@redhat.com> | 2016-02-12 01:12:59 +0100 |
commit | 9744de72a5eff0096461d6f2987e2bcdc75117f2 (patch) | |
tree | 8795c88fe1a94959b0452ac62f0cce9b5fd1cf06 /src/rgw/rgw_http_client.h | |
parent | rgw: don't require system pools to start with a period (diff) | |
download | ceph-9744de72a5eff0096461d6f2987e2bcdc75117f2.tar.xz ceph-9744de72a5eff0096461d6f2987e2bcdc75117f2.zip |
rgw: add new class to create resource request
RGWRESTReadResource holds the request input and output. Previously
we were using stack variables that couldn't be used in the async
path.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/rgw_http_client.h')
-rw-r--r-- | src/rgw/rgw_http_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_http_client.h b/src/rgw/rgw_http_client.h index 5d643c3bc64..5ad8ff5529c 100644 --- a/src/rgw/rgw_http_client.h +++ b/src/rgw/rgw_http_client.h @@ -77,6 +77,7 @@ class RGWHTTPManager { RWLock reqs_lock; map<uint64_t, rgw_http_req_data *> reqs; + map<uint64_t, rgw_http_req_data *> complete_reqs; int64_t num_reqs; int64_t max_threaded_req; int thread_pipe[2]; |