On 22/06/2016 5:13 a.m., Eduard Bagdasaryan wrote:
> Hello,
> 
> In my current task I need to change some of header definitions, but it is
> unclear how to do this correctly. My understanding is that I need to
> modify http/RegisteredHeadersHash.gperf, and then run
> "make gperf-files" to generate RegisteredHeadersHash.cci. Is this correct?

I believe so, though I've not done it myself yet. Kinkie knows more if
he replies.

> The http/RegisteredHeadersHash.gperf has a comment that it was
> auto-generated
> from RegisteredHeadersHash.gperf. How could it be generated from itself?

Its not. That %{ ...}% is a block of data to be inserted verbatum into
the output file at the same (top) position. Bit unfortunate that we had
to do it that way.

Amos

_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to