Obey SessionMaxAge for session expiration upstream_master
authorMatt Rogers <mrogers@redhat.com>
Fri, 20 May 2016 01:45:47 +0000 (21:45 -0400)
committerSimo Sorce <simo@redhat.com>
Wed, 25 May 2016 19:49:01 +0000 (15:49 -0400)
commit65e1bfe101f8b0183fc1bea66800558d2682544a
tree35c8ff58d7064ba9235ac7bdaf959f8d8117fea6
parent0645b2feb3c3549b67c1d64663be91655f1cbecf
Obey SessionMaxAge for session expiration

Set the session and cookie expiration to the mod_session SessionMaxAge
expiry time, if it is shorter than the credential lifetime.

Signed-off-by: Matt Rogers <mrogers@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Closes #82
src/sessions.c