From de44fe7893da8d8c9903f1a7268fa6fe03446d36 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 11 Jun 2008 22:03:08 +0000 Subject: Allow better migration of live digest sessions between httpauth daemons by using the 'stale' flag when things seem out of date. --- daemon/bd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/bd.c') 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; -- cgit v1.2.3