Commit 324486e2 authored by jan.koester's avatar jan.koester
Browse files

test

parent e1d80d16
Loading
Loading
Loading
Loading
Loading
+8 −4
Changes for src/authdb.cpp: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -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();

            }