From 25ee36b5757e19aebb9d85ee2a57264a3dbf36b5 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 1 Feb 2005 15:15:40 +0000 Subject: [PATCH] * Better purging of not-logged-in GroupDAV sessions --- webcit/ChangeLog | 4 +++- webcit/webcit.c | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 6795dd1c9..a4d1956b5 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -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 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/webcit.c b/webcit/webcit.c index b873635d1..05d7713a6 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -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; } -- 2.39.2