Set my own value in C for use in VCL

Philip Prince philip.prince at oxil.co.uk
Thu Jan 20 16:46:01 CET 2011


Dear Lukasz,

That was it! It did not occur to me to look at the syslog ( I kept running varnishlog...).

Many thanks,
Philip

On 20 Jan 2011, at 14:55, Łukasz Barszcz / Gadu-Gadu wrote:

> On 20.01.2011 14:26, Philip Prince wrote:
>> 
>>       VRT_SetHdr(sp, HDR_REQ, "\013X-My-Own-Value:", "1", vrt_magic_string_end);
> You probably get panic in here, since length of "X-My-Own-Value:" isn't 013oct ( = 11dec). More detailed info on panic reasons should be in your syslog.
> 
> Argument for VRT_SetHdr should be "\020X-My-Own-Value:".
> 
> -- 
> Łukasz Barszcz
> web architect
> Pion Aplikacji Internetowych
> GG Network S.A   http://www.gadu-gadu.pl
> ul. Kamionkowska 45   03-812 Warszawa
> tel.: +48 22 4277900   fax.: +48 22 5146498   gg:16210
> 
> Spółka zarejestrowana w Sądzie Rejonowym dla m. st. Warszawy, XIII
> Wydział Gospodarczy KRS pod numerem 0000264575, NIP 867-19-48-977.
> Kapitał zakładowy:  1 758 461,10 zł - wpłacony w całości.
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Philip Prince SB MA MBCS CITP
Network Architect, Director


Oxford Information Labs Limited

The Magdalen Centre
Oxford OX4 4GA

t: 01865 784294
d: 01865 582040
m: 07595 894469

Legally privileged/Confidential Information may be contained in this message. If you are not the addressee(s) legally indicated in this message (or responsible for delivery of the message to such person) you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet e-mail messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorised representative independent of this message. Please note that we do not accept any responsibility for viruses and we advise you to scan attachments.

Registered office: 37 Market Square, Witney, Oxfordshire OX28 6RE. Registered in England and Wales No. 4520925. VAT No. 799526263.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110120/39f6bb31/attachment-0003.html>


More information about the varnish-misc mailing list