[master] 504e691 Revert "Tolerate an empty status line elements in case we've run out of ws handling an error"

Nils Goroll nils.goroll at uplex.de
Mon Jul 4 13:42:07 CEST 2016


commit 504e691a5117ed36c4b88f372339b251e56da34f
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jun 28 18:58:52 2016 +0200

    Revert "Tolerate an empty status line elements in case we've run out of ws handling an error"
    
    Better fix in the next commit
    
    This reverts commit 83c5ead8ff1563823c91eb00c6394b3720911853.

diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index 53e4b1d..3772215 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -796,8 +796,6 @@ http_EstimateWS(const struct http *fm, unsigned how)
 	for (u = 0; u < fm->nhd; u++) {
 		if (u == HTTP_HDR_METHOD || u == HTTP_HDR_URL)
 			continue;
-		if (u < HTTP_HDR_FIRST && fm->hd[u].b == NULL)
-			continue;
 		Tcheck(fm->hd[u]);
 		if (fm->hdf[u] & HDF_FILTER)
 			continue;



More information about the varnish-commit mailing list