Search squid archive

Re: Can't get http://bay.tvh.com/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/03/2012 4:44 a.m., Alexander Busam wrote:
Hi!

We use squid as a transparent proxy.

When I try http://bay.tvh.com I just get a blank page.

I also used

acl cache_deny dstdomain .tvh.com
cache deny dache_deny

without any effect.

Can anybody reproduce this behaviour too?

Yes. The problem appears to be a broken CDN proxy at their end.

When passed requests in HTTP/1.0 format for origin servers.

### squidclient -h bay.tvh.com -j bay.tvh.com -p 80 /tvhbay/tvhbay.html | more

Request:
  GET /tvhbay/tvhbay.html HTTP/1.0
  Host: bay.tvh.com
  User-Agent: squidclient/3.3
  Connection: close

Response:
  HTTP/1.1 200 OK
  Content-Length: 0
  X-Varnish: 447948572
  ...

It claims the page has no size. Ouch.

But when passed the exact same request using 1.1 it magically appears:

Request:
  GET /tvhbay/tvhbay.html HTTP/1.1
  Host: bay.tvh.com
  User-Agent: squidclient/3.3
  Connection: close

Response:
  HTTP/1.1 200 OK
  Content-Length: 192781
  X-Varnish: 447948866
  ...




How can I fix this ?

You can work around it by upgrading your Squid to version 3.1, which sends HTTP/1.1 to servers.

And complain to that sites admin. They need to fix their proxy.

Amos



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux