[squid-dev] Dealing with RegisteredHeadersHash.gperf
Amos Jeffries
squid3 at treenet.co.nz
Wed Jun 22 05:42:11 UTC 2016
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
More information about the squid-dev
mailing list