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);
}
return 0;
-} /* RGWMongooseFrontend::run */
+} /* RGWCivetWebFrontend::run */
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;
}
public:
- RGWMongooseFrontend(RGWProcessEnv& pe, RGWFrontendConfig* _conf)
+ RGWCivetWebFrontend(RGWProcessEnv& pe, RGWFrontendConfig* _conf)
: conf(_conf), ctx(nullptr), env(pe) {
}
// unpause callbacks
env.mutex.put_write();
}
-}; /* RGWMongooseFrontend */
+}; /* RGWCivetWebFrontend */
class RGWProcessFrontend : public RGWFrontend {
protected:
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);