[6.1] 715bf4ccb No need to mark the overflow twice
hermunn
hermunn at varnish-software.com
Wed Oct 24 09:29:16 UTC 2018
commit 715bf4ccb7554f42ab915839a5f98ed56769602b
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Mon Sep 24 23:27:29 2018 +0100
No need to mark the overflow twice
diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index 8e41d37b1..2e61ca7cf 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -379,7 +379,6 @@ http_CollectHdrSep(struct http *hp, const char *hdr, const char *sep)
if (b + x >= e) {
http_fail(hp);
VSLb(hp->vsl, SLT_LostHeader, "%s", hdr + 1);
- WS_MarkOverflow(hp->ws);
WS_Release(hp->ws, 0);
return;
}
More information about the varnish-commit
mailing list