RGWFrontendConfig *conf;
RGWProcess *pprocess;
RGWProcessEnv env;
- RGWFCGXControlThread *thread;
+ RGWProcessControlThread *thread;
public:
- RGWFCGXFrontend(RGWProcessEnv& pe, RGWFrontendConfig *_conf) : conf(_conf), env(pe) {
- pprocess = new RGWProcess(g_ceph_context, &env, g_conf->rgw_thread_pool_size, conf);
- thread = new RGWFCGXControlThread(pprocess);
+ RGWProcessFrontend(RGWProcessEnv& pe, RGWFrontendConfig *_conf) : conf(_conf), pprocess(NULL), env(pe), thread(NULL) {
}
- ~RGWFCGXFrontend() {
+ ~RGWProcessFrontend() {
delete thread;
+ delete pprocess;
}
int run() {