[master] 3aac3b67f http: Remove redundant WS_MarkOverflow()
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Aug 31 18:41:11 UTC 2020
commit 3aac3b67f6b89f087957b1e1cab2807101be17b8
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Jul 13 15:02:36 2020 +0200
http: Remove redundant WS_MarkOverflow()
It used to be relevant before we had WS_Id().
diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index 9fa4c1f64..9760f79a1 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -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);
- WS_MarkOverflow(hp->ws);
+ assert(WS_Overflowed(hp->ws));
}
/*--------------------------------------------------------------------
More information about the varnish-commit
mailing list