summaryrefslogtreecommitdiff
path: root/daemon/bd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-11 22:03:08 +0000
committerStef Walter <stef@memberwebs.com>2008-06-11 22:03:08 +0000
commitde44fe7893da8d8c9903f1a7268fa6fe03446d36 (patch)
treed551e17b64d6bef889179b32ab1bdd991e3c0fbf /daemon/bd.c
parent0cb3f6098d959479a96c26a92d91becc2110b30d (diff)
Allow better migration of live digest sessions between httpauth
daemons by using the 'stale' flag when things seem out of date.
Diffstat (limited to 'daemon/bd.c')
-rw-r--r--daemon/bd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/bd.c b/daemon/bd.c
index eb0bec0..277a3f7 100644
--- a/daemon/bd.c
+++ b/daemon/bd.c
@@ -423,7 +423,7 @@ static int do_digest_response(ha_request_t* rq, bd_context_t* ctx, const char* h
cached = (prepare_digest_from_cached (ctx, &dg, rq, nonce) == HA_OK);
/* Check the majority of the fields */
- ret = digest_pre_check (&dg, rq->context, rq->buf);
+ ret = digest_pre_check (&dg, rq->context, rq->buf, &stale);
if (ret != HA_OK) {
if (ret == HA_BADREQ) {
ret = HA_FALSE;