A new user with a few questions

Per Buer perbu at varnish-software.com
Thu Sep 22 21:44:24 CEST 2011


Hi.

If I'm not mistaken those aren't actually headers sent over the the wire,
it's just some LWP internal thingy that gets printed out. "varnishlog" will
show you what is actually crossing the wire.

Per.

On Thu, Sep 22, 2011 at 9:02 PM, Nicole H. <nicole4pt at gmail.com> wrote:

> Hi
>  I tried using: remove req.http.Client-Date;  remove req.http.Client-Peer;
> In vcl_recv and in vcl_fetch to no avail.
>
>  Any other suggestions?  Is this normal behavior I am trying to turn off?
>
>
> Thanks
>
>
>   Nicole
>
>
> EX:
>
> GET -e -d -s http://cachetest-server1.domain.com/image.png
> 200 OK
> Cache-Control: public, max-age=259200
> Connection: close
> Date: Thu, 22 Sep 2011 18:57:28 GMT
> Via: 1.1 varnish
> Accept-Ranges: bytes
> Age: 3
> Server: lighttpd
> Content-Length: 19299
> Content-Type: image/png
> Expires: Sun, 25 Sep 2011 18:57:24 GMT
> Last-Modified: Thu, 18 Mar 2010 19:03:56 GMT
> Client-Date: Thu, 22 Sep 2011 18:57:28 GMT
> Client-Peer: 10.0.2.1:80
> Client-Response-Num: 1
>
>
>
>
> On Wed, Sep 21, 2011 at 10:21 PM, Mit Rowe <mit at stagename.com> wrote:
>
>>
>>
>> On Wed, Sep 21, 2011 at 7:35 PM, Nicole H. <nicole4pt at gmail.com> wrote:
>>
>>>
>>>
>>>
>>>
>>> 4)  When testing, I am seeing these in the headers. I have tried a number
>>> of things but I can't seem to remove them.
>>>  How do I remove these? If not all, especially the Client-Peer IP
>>> address.
>>>
>>> Client-Date: Wed, 21 Sep 2011 01:10:28 GMT
>>> Client-Peer: 10.0.2.3:80
>>> Client-Response-Num: 1
>>>
>>>
>>
>> I've seen something like that added by the LWP (libwww-perl) library in
>> the request headers. Are you using that for your tests?
>>
>> I think you can remove them with "remove req.http.Client-Date" in the
>> vcl_recv or vcl_fetch sections
>>
>>  -Mit
>>
>>
>>
>>
>>
>>
>>>
>>>
>>>  Thanks!
>>>
>>>
>>>   Nicole
>>>
>>>
>>>
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc at varnish-cache.org
>>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>
>>
>>
>> --
>> Will 'Mit' Rowe
>> Stagename*
>> *1-866-326-3098
>> mit at stagename.com <josh at stagename.com>
>> www.stagename.com
>> Twitter: @stagename
>>
>> *The information transmitted is intended only for the person or entity to
>> which it is addressed and may contain confidential and/or privileged
>> material. Any review, retransmission, dissemination or other use of this
>> information by persons or entities other than the intended recipient is
>> prohibited. If you received this transmission in error, please contact the
>> sender and delete all material contained herein from your computer.*
>>
>
>
>
> --
> ---
>  Nicole Melody Harrington - UNIX Systems Mistress
>     admin1 at picturetrail.com -- http://www.picturetrail.com
>     Obey or the button gets it!
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110922/0a946c27/attachment-0003.html>


More information about the varnish-misc mailing list