Commit a8a9b384 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Round up estimate of HTTP header space to alow for alignment of

allocations in workspace.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4658 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7960e0bd
......@@ -679,7 +679,7 @@ http_EstimateWS(const struct http *fm, unsigned how, unsigned *nhd)
continue;
#include "http_headers.h"
#undef HTTPH
l += Tlen(fm->hd[u]) + 1;
l += PRNDUP(Tlen(fm->hd[u]) + 1);
(*nhd)++;
// fm->hdf[u] |= HDF_COPY;
}
......
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