commit | b5f66b8138275597b3df2da8ec9332b9f948fc21 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jan 08 17:15:39 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:05 2016 +0100 |
tree | 780ee2c2187563854d807daddb540267071b39cb | |
parent | 7101b64cfda8bb26b0bcc7eb96c7712e52be5bcd [diff] |
REORG: stats: dump the frontend's HTML stats via a generic function This new function stats_dump_fields_html() checks the type of the object being dumped from the stats table, and emits it in HTML format. It uses an argument indicating if the HTML page is also used as an admin page, and for now still takes the proxy in argument as a few entries still need it. The code was simply moved as-is to the new function. There's no functional change.