projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Important fixes to session matching and reuse logic.
[citadel.git]
/
webcit
/
auth.c
diff --git
a/webcit/auth.c
b/webcit/auth.c
index 76fb13dc1dfcf0b4eb80e6d7e2bd1a59cdb6465b..31c000f521987a1e0c29c59fe39cea68dbd37a21 100644
(file)
--- a/
webcit/auth.c
+++ b/
webcit/auth.c
@@
-477,7
+477,6
@@
void do_welcome(void)
* Disconnect from the Citadel server, and end this WebCit session
*/
void end_webcit_session(void) {
* Disconnect from the Citadel server, and end this WebCit session
*/
void end_webcit_session(void) {
-
serv_puts("QUIT");
WC->killthis = 1;
/* close() of citadel socket will be done by do_housekeeping() */
serv_puts("QUIT");
WC->killthis = 1;
/* close() of citadel socket will be done by do_housekeeping() */
@@
-950,11
+949,6
@@
void CheckAuthBasic(ParsedHttpHdrs *hdr)
*/
StrBufAppendBufPlain(hdr->HR.plainauth, HKEY(":"), 0);
StrBufAppendBuf(hdr->HR.plainauth, hdr->HR.user_agent, 0);
*/
StrBufAppendBufPlain(hdr->HR.plainauth, HKEY(":"), 0);
StrBufAppendBuf(hdr->HR.plainauth, hdr->HR.user_agent, 0);
- hdr->HR.SessionKey = hashlittle(SKEY(hdr->HR.plainauth), 89479832);
-/*
- syslog(1, "CheckAuthBasic: calculated sessionkey %ld\n",
- hdr->HR.SessionKey);
-*/
}
}