mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
BUG/MEDIUM: stats: fix stats page regression introduced by commit 20b0de5
This commit adding http-request add-header/set-header unfortunately introduced a regression to the handling of the stats page which is not matched anymore. Thanks to Dmitry Sivachenko for reporting this.
This commit is contained in:
parent
69eda35acd
commit
418c1a0a95
@ -3113,11 +3113,11 @@ http_check_access_rule(struct proxy *px, struct list *rules, struct session *s,
|
|||||||
trash.str[trash.len++] = ' ';
|
trash.str[trash.len++] = ' ';
|
||||||
trash.len += build_logline(s, trash.str + trash.len, trash.size - trash.len, &rule->arg.hdr_add.fmt);
|
trash.len += build_logline(s, trash.str + trash.len, trash.size - trash.len, &rule->arg.hdr_add.fmt);
|
||||||
http_header_add_tail2(&txn->req, &txn->hdr_idx, trash.str, trash.len);
|
http_header_add_tail2(&txn->req, &txn->hdr_idx, trash.str, trash.len);
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return rule;
|
return rule;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This stream analyser runs all HTTP request processing which is common to
|
/* This stream analyser runs all HTTP request processing which is common to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user