* Better purging of not-logged-in GroupDAV sessions
authorArt Cancro <ajc@citadel.org>
Tue, 1 Feb 2005 15:15:40 +0000 (15:15 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 1 Feb 2005 15:15:40 +0000 (15:15 +0000)
webcit/ChangeLog
webcit/webcit.c

index 6795dd1c9a90642128bca63211606b62ceacebbe..a4d1956b566df1f029bffded7fa9816e07815b20 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 528.32  2005/02/01 15:15:40  ajc
+* Better purging of not-logged-in GroupDAV sessions
+
 Revision 528.31  2005/02/01 14:55:12  ajc
 * Reworked the PROPFIND xml output based on an example transaction
   supplied by Reinhold Kainhofer.  Groupware folder enumeration works
@@ -2275,4 +2278,3 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
-
index b873635d1675779be711d4c5db671aa29c7b1c85..05d7713a6a5f149a60be3fc9fe3ad8d1c66c20fd 100644 (file)
@@ -1027,7 +1027,10 @@ void session_loop(struct httprequest *req)
         * our session's authentication.
         */
        if (!strncasecmp(action, "groupdav", 8)) {
-               groupdav_main(req);
+               groupdav_main(req);             /* do GroupDAV stuff */
+               if (!WC->logged_in) {
+                       WC->killthis = 1;       /* If not logged in, don't */
+               }                               /* keep the session active */
                goto SKIP_ALL_THIS_CRAP;
        }