From c4aa3d46e334461988acf17596fd34a6baa82aa3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 13 Jun 2015 16:46:40 -0400 Subject: Optimize BASIC AUTH checks with sessions. If sessions are enbled store a MAC of the password and use it to check if the password is the same on follow-up requests. If it is, avoid the whole gssapi dance and use the session data instead. Signed-off-by: Simo Sorce --- src/mod_auth_gssapi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mod_auth_gssapi.h') diff --git a/src/mod_auth_gssapi.h b/src/mod_auth_gssapi.h index 97ba2c8..00765c4 100644 --- a/src/mod_auth_gssapi.h +++ b/src/mod_auth_gssapi.h @@ -68,6 +68,7 @@ struct mag_conn { time_t expiration; int auth_type; bool delegated; + struct databuf basic_hash; }; #define discard_const(ptr) ((void *)((uintptr_t)(ptr))) -- cgit