[master] 91d1cd7d5 No need to mark the overflow twice

Federico G. Schwindt fgsch at lodoss.net
Mon Sep 24 22:28:10 UTC 2018


commit 91d1cd7d55c9d2c1409c58458e932d560f0c4c98
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