Loading plugins/media/redis.cpp +21 −27 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ #include <iostream> #include <algorithm> #include <cstring> #include <thread> #include <httppp/exception.h> #include <httppp/httpd.h> Loading Loading @@ -69,8 +68,6 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c throw e; } std::thread t1([this,req,key,ctype](){ try{ redisReply *rep=(redisReply*)redisCommand(_RedisCTX,"GET %s",key); Loading @@ -95,7 +92,4 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c curres.setState(HTTP501); curres.send(req,e.what(),strlen(e.what())); } }); t1.detach(); } Loading
plugins/media/redis.cpp +21 −27 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ #include <iostream> #include <algorithm> #include <cstring> #include <thread> #include <httppp/exception.h> #include <httppp/httpd.h> Loading Loading @@ -69,8 +68,6 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c throw e; } std::thread t1([this,req,key,ctype](){ try{ redisReply *rep=(redisReply*)redisCommand(_RedisCTX,"GET %s",key); Loading @@ -95,7 +92,4 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c curres.setState(HTTP501); curres.send(req,e.what(),strlen(e.what())); } }); t1.detach(); }