]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: ONLY rename RGWMongooseFrontend to RGWCivetWebFrontend.
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Mon, 1 Aug 2016 12:00:34 +0000 (14:00 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 21 Oct 2016 20:57:18 +0000 (22:57 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_civetweb_frontend.cc
src/rgw/rgw_frontend.h
src/rgw/rgw_main.cc

index dca240454ba15901fda31101112be925c9d1248c..aab73a9640eafb3b5dc2a6377e04815c5a447603 100644 (file)
@@ -33,7 +33,7 @@ static int civetweb_callback(struct mg_connection* conn) {
   return 1;
 }
 
-int RGWMongooseFrontend::run() {
+int RGWCivetWebFrontend::run() {
   char thread_pool_buf[32];
   snprintf(thread_pool_buf, sizeof(thread_pool_buf), "%d",
           (int)g_conf->rgw_thread_pool_size);
@@ -78,4 +78,4 @@ int RGWMongooseFrontend::run() {
   }
 
   return 0;
-} /* RGWMongooseFrontend::run */
+} /* RGWCivetWebFrontend::run */
index 928a03b8fe3a9b84850a0f4109d2aef34531907a..0d5d011885572f8532a21c84c4d92f5f544603e4 100644 (file)
@@ -56,10 +56,10 @@ struct RGWMongooseEnv : public RGWProcessEnv {
   RWLock mutex;
   RGWMongooseEnv(const RGWProcessEnv &env)
     : RGWProcessEnv(env),
-      mutex("RGWMongooseFrontend", false, true, prioritize_write) {}
+      mutex("RGWCivetWebFrontend", false, true, prioritize_write) {}
 };
 
-class RGWMongooseFrontend : public RGWFrontend {
+class RGWCivetWebFrontend : public RGWFrontend {
   RGWFrontendConfig* conf;
   struct mg_context* ctx;
   RGWMongooseEnv env;
@@ -72,7 +72,7 @@ class RGWMongooseFrontend : public RGWFrontend {
   }
 
 public:
-  RGWMongooseFrontend(RGWProcessEnv& pe, RGWFrontendConfig* _conf)
+  RGWCivetWebFrontend(RGWProcessEnv& pe, RGWFrontendConfig* _conf)
     : conf(_conf), ctx(nullptr), env(pe) {
   }
 
@@ -101,7 +101,7 @@ public:
     // unpause callbacks
     env.mutex.put_write();
   }
-}; /* RGWMongooseFrontend */
+}; /* RGWCivetWebFrontend */
 
 class RGWProcessFrontend : public RGWFrontend {
 protected:
index 37ef78d9d2a5acdb78ff251a34fb13c5d20d6fcf..f62fdc98d4359ba86f87798955d27bf6204874c6 100644 (file)
@@ -447,7 +447,7 @@ int main(int argc, const char **argv)
 
       RGWProcessEnv env = { store, &rest, olog, port };
 
-      fe = new RGWMongooseFrontend(env, config);
+      fe = new RGWCivetWebFrontend(env, config);
     } else if (framework == "loadgen") {
       int port;
       config->get_val("port", 80, &port);