diff options
author | Yehuda Sadeh <yehuda@redhat.com> | 2017-08-28 14:56:19 +0200 |
---|---|---|
committer | Yehuda Sadeh <yehuda@redhat.com> | 2018-04-10 17:05:37 +0200 |
commit | aa4fd878ad682b3e8740aa5b2a48f8c7c06a0382 (patch) | |
tree | f1e10c9ca9367ff73bc7317b6a6be1784f9cbe85 /src/test/rgw/test_http_manager.cc | |
parent | rgw: create global http manager (diff) | |
download | ceph-aa4fd878ad682b3e8740aa5b2a48f8c7c06a0382.tar.xz ceph-aa4fd878ad682b3e8740aa5b2a48f8c7c06a0382.zip |
rgw: http client, simplify interfaces
work towards removal of duplicate synchronous api
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/test/rgw/test_http_manager.cc')
-rw-r--r-- | src/test/rgw/test_http_manager.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rgw/test_http_manager.cc b/src/test/rgw/test_http_manager.cc index bfbcad72999..73626a7d9cf 100644 --- a/src/test/rgw/test_http_manager.cc +++ b/src/test/rgw/test_http_manager.cc @@ -38,8 +38,8 @@ TEST(HTTPManager, SignalThread) constexpr size_t num_requests = max_requests + 1; for (size_t i = 0; i < num_requests; i++) { - RGWHTTPClient client{cct}; - http.add_request(&client, "PUT", "http://127.0.0.1:80"); + RGWHTTPClient client{cct, "PUT", "http://127.0.0.1:80"}; + http.add_request(&client); } } |