+static void hq_trace_hdr(struct ist name, struct ist value, uint64_t mask,
+ const struct ist trc_loc, const char *func,
+ struct qcs *qcs, struct qcc *qcc)
+{
+ const char *line __maybe_unused;
+
+ if (TRACE_ENABLED(TRACE_LEVEL_USER, mask, qcs->qcc->conn, qcs, 0, 0)) {
+ chunk_reset(&trash);
+ line = chunk_newstr(&trash);
+ chunk_appendf(&trash, "HTTP/0.9 (%.*s: %.*s)",
+ (uint)istlen(name), istptr(name),
+ (uint)istlen(value), istptr(value));
+
+ _hq_trace_http(line, mask, trc_loc, func, qcs, qcc);
+ }
+}
+