]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: unable to compile fcgi frontend 34923/head
authorOr Friedmann <ofriedma@redhat.com>
Wed, 6 May 2020 11:27:13 +0000 (14:27 +0300)
committerOr Friedmann <ofriedma@redhat.com>
Wed, 6 May 2020 11:27:13 +0000 (14:27 +0300)
Although we are not supporting this frontend it is still possible with cmake to compile it

This fix is intend to be able to compile fcgi

Signed-off-by: Or Friedmann <ofriedma@redhat.com>
src/rgw/rgw_fcgi_process.cc

index 6bb11025269519b9d989c09af7f6cee606df87f3..452868a29c448f0a991eb456fa81799defbb3b89 100644 (file)
@@ -89,7 +89,7 @@ void RGWFCGXProcess::run()
   }
 
   for (;;) {
-    RGWFCGXRequest* req = new RGWFCGXRequest(store->get_new_req_id(), &qr);
+    RGWFCGXRequest* req = new RGWFCGXRequest(store->getRados()->get_new_req_id(), &qr);
     dout(10) << "allocated request req=" << hex << req << dec << dendl;
     req_throttle.get(1);
     int ret = FCGX_Accept_r(req->fcgx);