Commit 4bbf4b72 authored by jan.koester's avatar jan.koester
Browse files

test

parent 10c45652
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1985,9 +1985,13 @@ namespace authdb {
            try {
                cookie.parse(curreq);
                for (libhttppp::HttpCookie::CookieData *cur = cookie.getfirstCookieData(); cur; cur = cur->nextCookieData()) {
                    std::cerr << "[CTRL] cookie: key='" << cur->getKey() << "' val='" << cur->getValue() << "'" << std::endl;
                    if (cur->getKey() == "authdbid") {
                        if (ssid.parse(cur->getValue()) == 0) {
                        int rc = ssid.parse(cur->getValue());
                        std::cerr << "[CTRL] uuid parse rc=" << rc << " sid=" << ssid.c_str() << std::endl;
                        if (rc == 0) {
                            sdat = AuthSession->getSession(ssid);
                            std::cerr << "[CTRL] getSession result=" << (sdat ? "found" : "null") << std::endl;
                        }
                        break;
                    }