Commit 3c77f500 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Log what we actually tried to use

parent ad19df6a
......@@ -1210,8 +1210,9 @@ http_PrintfHeader(struct http *to, const char *fmt, ...)
va_end(ap);
if (n + 1 >= l || to->nhd >= to->shd) {
http_fail(to);
VSLb(to->vsl, SLT_LostHeader, "%s",
n + 1 >= l ? fmt : to->ws->f);
va_start(ap, fmt);
VSLbv(to->vsl, SLT_LostHeader, fmt, ap);
va_end(ap);
WS_Release(to->ws, 0);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment