Loading src/authdb.cpp +8 −4 Changes for src/authdb.cpp: 8 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -167,16 +167,20 @@ namespace authdb { rep.send(curreq,_AuthCss.data(),_AuthCss.size()); return; }else if(_AdminBackend.end()<=sizeof(authdb::AuthHeader)){ try{ _AdminBackend.lock(); try{ WizzardEvent(curreq,tid,args); _AdminBackend.unlock(); return; }catch(libhttppp::HTTPException &e){ _AdminBackend.unlock(); if(e.getErrorType()!=999) throw e; if(e.getErrorType()!=999){ libhttppp::HttpResponse rep; rep.setState(HTTP500); rep.setContentType("text/html"); rep.send(curreq,e.what(),strlen(e.what())); } } _AdminBackend.unlock(); } Loading Loading
src/authdb.cpp +8 −4 Changes for src/authdb.cpp: 8 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -167,16 +167,20 @@ namespace authdb { rep.send(curreq,_AuthCss.data(),_AuthCss.size()); return; }else if(_AdminBackend.end()<=sizeof(authdb::AuthHeader)){ try{ _AdminBackend.lock(); try{ WizzardEvent(curreq,tid,args); _AdminBackend.unlock(); return; }catch(libhttppp::HTTPException &e){ _AdminBackend.unlock(); if(e.getErrorType()!=999) throw e; if(e.getErrorType()!=999){ libhttppp::HttpResponse rep; rep.setState(HTTP500); rep.setContentType("text/html"); rep.send(curreq,e.what(),strlen(e.what())); } } _AdminBackend.unlock(); } Loading