[squid-dev] Dealing with RegisteredHeadersHash.gperf

Kinkie gkinkie at gmail.com
Wed Jun 22 08:43:36 UTC 2016


On Wed, Jun 22, 2016 at 6:42 AM, Amos Jeffries <squid3 at treenet.co.nz> wrote:

> 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.
>

Yes, that's it. Remember that - contrary to what we do in many other
similar cases - the .cci file needs to be committed to the repository.


>
> > 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.
>

Yes.
-- 
    Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160622/011d01f6/attachment.html>


More information about the squid-dev mailing list