Commit 62925c47 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

http: Don't expect an overflowed workspace on failure

If we lose a header from http_SetHeader() we don't formally run out of
workspace prior to calling http_fail().

Refs #3410
parent 05f75a15
......@@ -117,7 +117,7 @@ http_fail(const struct http *hp)
VSC_C_main->losthdr++;
WS_Id(hp->ws, id);
VSLb(hp->vsl, SLT_Error, "out of workspace (%s)", id);
assert(WS_Overflowed(hp->ws));
WS_MarkOverflow(hp->ws);
}
/*--------------------------------------------------------------------
......
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