diff --git a/src/stats.c b/src/stats.c
index 6255ce3d6..aee3a0f7e 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -689,6 +689,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
"
- HTTP 5xx responses: | %s |
"
"- other responses: | %s |
"
"Intercepted requests: | %s |
"
+ "Failed hdr rewrites: | %s |
"
"",
U2H(stats[ST_F_REQ_TOT].u.u64),
U2H(stats[ST_F_HRSP_1XX].u.u64),
@@ -700,7 +701,8 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
U2H(stats[ST_F_HRSP_4XX].u.u64),
U2H(stats[ST_F_HRSP_5XX].u.u64),
U2H(stats[ST_F_HRSP_OTHER].u.u64),
- U2H(stats[ST_F_INTERCEPTED].u.u64));
+ U2H(stats[ST_F_INTERCEPTED].u.u64),
+ U2H(stats[ST_F_WREW].u.u64));
}
chunk_appendf(out,
@@ -932,6 +934,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
"- HTTP 4xx responses: | %s | (%d%%) |
"
"- HTTP 5xx responses: | %s | (%d%%) |
"
"- other responses: | %s | (%d%%) |
"
+ "Failed hdr rewrites: | %s |
"
"",
U2H(tot),
U2H(stats[ST_F_HRSP_1XX].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_1XX].u.u64 / tot) : 0,
@@ -939,7 +942,8 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
U2H(stats[ST_F_HRSP_3XX].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_3XX].u.u64 / tot) : 0,
U2H(stats[ST_F_HRSP_4XX].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_4XX].u.u64 / tot) : 0,
U2H(stats[ST_F_HRSP_5XX].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_5XX].u.u64 / tot) : 0,
- U2H(stats[ST_F_HRSP_OTHER].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_OTHER].u.u64 / tot) : 0);
+ U2H(stats[ST_F_HRSP_OTHER].u.u64), tot ? (int)(100 * stats[ST_F_HRSP_OTHER].u.u64 / tot) : 0,
+ U2H(stats[ST_F_WREW].u.u64));
}
chunk_appendf(out, "Avg over last 1024 success. conn. |
");
@@ -1151,6 +1155,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
"- HTTP 4xx responses: | %s |
"
"- HTTP 5xx responses: | %s |
"
"- other responses: | %s |
"
+ "Failed hdr rewrites: | %s |
"
"Avg over last 1024 success. conn. |
"
"",
U2H(stats[ST_F_REQ_TOT].u.u64),
@@ -1162,6 +1167,7 @@ static int stats_dump_fields_html(struct chunk *out, const struct field *stats,
U2H(stats[ST_F_HRSP_3XX].u.u64),
U2H(stats[ST_F_HRSP_4XX].u.u64),
U2H(stats[ST_F_HRSP_5XX].u.u64),
+ U2H(stats[ST_F_WREW].u.u64),
U2H(stats[ST_F_HRSP_OTHER].u.u64));
}