Re: [squid-users] Squidcllient making request

2016-03-03 Thread Alex Rousskov
On 03/03/2016 04:43 AM, Amos Jeffries wrote: > On 3/03/2016 8:28 p.m., John Pearson wrote: >> I am getting a lot of messy code and when I quit (CRTL-C), squid logs are >> showing TCP_HIT_ABORTED. > I'm not sure what exactly is leading to the ABORTED yet. Its not a major > issue, just a logging de

Re: [squid-users] Squidcllient making request

2016-03-03 Thread Amos Jeffries
On 3/03/2016 8:28 p.m., John Pearson wrote: > Thanks Amos! It works. > > New problem: > I am checking whether a url (object) is cached or not by using: > > squidclient -p 3129 $url | fgrep X-Cache > > I am getting a lot of messy code and when I quit (CRTL-C), squid logs are > showing TCP_HIT_ABO

Re: [squid-users] Squidcllient making request

2016-03-02 Thread John Pearson
Thanks Amos! It works. New problem: I am checking whether a url (object) is cached or not by using: squidclient -p 3129 $url | fgrep X-Cache I am getting a lot of messy code and when I quit (CRTL-C), squid logs are showing TCP_HIT_ABORTED. How can I not get the messy code and just get the resul

Re: [squid-users] Squidcllient making request

2016-03-02 Thread Amos Jeffries
On 2/03/2016 6:05 p.m., John Pearson wrote: > Hi, > > I have squid installed on a machine with two NICs. > eth0 - wan > eth1 - lan - 10.0.1.1 > > Squid server is running on eth1. > I am trying to use the squidclient to fetch a url so that squid will cache > it. Like prefetching. > > Example: >

[squid-users] Squidcllient making request

2016-03-01 Thread John Pearson
Hi, I have squid installed on a machine with two NICs. eth0 - wan eth1 - lan - 10.0.1.1 Squid server is running on eth1. I am trying to use the squidclient to fetch a url so that squid will cache it. Like prefetching. Example: squidclient -v -h 10.0.1.1 -p 3128 -m GET http://www.apple.com Resu