Commit c30411a6 authored by jan.koester's avatar jan.koester
Browse files

fixed deathlock

parent ed430db3
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/authdb.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -167,15 +167,15 @@ 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){
                    if(e.getErrorType()!=999)
                        throw e;
                }
                _AdminBackend.unlock();
            }

            if(strncmp("/settings",curreq->getRequestURL(),9)==0){