From: Casey Bodley Date: Sun, 19 Jun 2016 11:01:39 +0000 (-0400) Subject: rgw: asio frontend calls process_request X-Git-Tag: v11.1.0~454^2~70 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0dff37419ef529c099a50ab18a8a7a9f5a20c3c8;p=ceph.git rgw: asio frontend calls process_request Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_asio_frontend.cc b/src/rgw/rgw_asio_frontend.cc index faec668ac11..22a92da0fa7 100644 --- a/src/rgw/rgw_asio_frontend.cc +++ b/src/rgw/rgw_asio_frontend.cc @@ -10,6 +10,7 @@ #include #include "rgw_asio_frontend.h" +#include "rgw_asio_client.h" #define dout_subsys ceph_subsys_rgw @@ -125,6 +126,10 @@ void AsioFrontend::accept(boost::system::error_code ec) }); ldout(ctx(), 4) << "accept " << endpoint << dendl; + + RGWRequest req{env.store->get_new_req_id()}; + RGWAsioClientIO client{std::move(socket), std::move(endpoint)}; + process_request(env.store, env.rest, &req, &client, env.olog); } int AsioFrontend::run()