Re: [Rabbit-proxy-users] Re: Image Problems
Brought to you by:
ernimril
From: Robert O. <ro...@kh...> - 2004-03-29 22:01:48
|
Samuel Hill wrote: >I am able to still reproduce this problem. >I do not get an error in the error logs. > > That is most probably because there is no error.... >127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 > > A zero byte response means that rabbit does send an answear and that that answear tell the browser that the browser cache is ok.... (That is how it ought to be, maybe this is not the case, but I can not tell unless I see the full request that IE sends). >I am not sure exactly how to read the cache. >I saw the web server java but never implemented it (because I could not >find any documents). > > java rabbit.cache.CacheStatus /tmp/rcache/ It will dump a lot of data, try to find the one matching the url for the image you have problems with. Look for the Entry and GET/POST ENTRY: /tmp/rcache/0/4 GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 You will see the full request header and the full response header. >I sniffed traffic but could not see an http request to the webserver. >I was trying www.westpa.net. >All I saw was the request from my browser to Rabbit. > > The request that the browser sends rabbit is what I want. The response is also very nice to have. >How do I implement HTTPSnoopFilter ? >My snooping seems to be t oo informative because of so many other things >on that ethernet segment. > > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter and perhaps even on httpoutfilters (add it last for that one is better). This will dump a lot of data so you probably want to send output to a file. /robo |