summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2007-05-31 23:29:35 +0000
committerStef Walter <stef@memberwebs.com>2007-05-31 23:29:35 +0000
commit6d7feb248daf16c260007388692d6de48416d9b7 (patch)
tree7bb76f937b738c78f8c6dabd66e7b721e1b73b3a /daemon/httpauthd.c
parent82a32ff78428bec9f9a4f69cc21ccf9d197a38ff (diff)
Support ignoring the HTTP method.
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c
index 68c0e46..b77abcb 100644
--- a/daemon/httpauthd.c
+++ b/daemon/httpauthd.c
@@ -1514,6 +1514,16 @@ static int config_parse(const char* file, ha_buffer_t* buf)
recog = 1;
}
+ else if(strcmp(name, "digestignoremethod") == 0)
+ {
+ int v;
+ if(ha_confbool(name, value, &v) < 0)
+ exit(1); /* Message already printed */
+
+ opts->digest_ignoremethod = v;
+ recog = 1;
+ }
+
#ifdef _DEBUG
else if(strcmp(name, "digestdebugnonce") == 0)
{