commit | 47ee7ad0a49b66dd84c35259163a80ab29dde77f | [log] [tgz] |
---|---|---|
author | willy tarreau <willy@wtap.(none)> | Thu May 18 01:25:36 2006 +0200 |
committer | willy tarreau <willy@wtap.(none)> | Thu May 18 01:25:36 2006 +0200 |
tree | b44e5edaff24d1349c481a674dc880a15a855157 | |
parent | 950609c39c64c581b8b6cf9d9afa02c9e9fe6537 [diff] |
[MINOR] also set request time on denied requests
diff --git a/haproxy.c b/haproxy.c index aa8a5fb..254afc0 100644 --- a/haproxy.c +++ b/haproxy.c
@@ -4120,6 +4120,7 @@ if (t->flags & SN_CLDENY) { /* no need to go further */ t->logs.status = 403; + t->logs.t_request = tv_diff(&t->logs.tv_accept, &now); /* let's log the request time */ client_retnclose(t, t->proxy->errmsg.len403, t->proxy->errmsg.msg403); if (!(t->flags & SN_ERR_MASK)) t->flags |= SN_ERR_PRXCOND;