Search squid archive

Re: HTTP Cache General Question

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

 



fre 2009-10-09 klockan 09:33 -0400 skrev Mark Schall:

> Peer 1 sends HTTP Request to Peer 2 with
> "www.tracker.com/someuniqueidentifierforchunkoffile" in the header.
> Would Squid or other Web Caches try to contact www.tracker.com instead
> of the Peer 2, or will it forward the request onward to Peer 2.

HTTP does not have both host and address detail. HTTP have an URL. If a
client requests

  http://www.tracker.com/someuniqueidentifierforchunkoffile

from the proxy then the proxy will
request /someuniqueidentifierforchunkoffile from www.tracker.com.

If the client does direct connections (not configured for using proxy)
then it MAY connect to other host and request

  GET /someuniqueidentifierforchunkoffile
  Host: www.tracker.com

from there. But if that is intercepted by a intercepting HTTP proxy then
the proxy will generally use the host from the Host header instead of
the intercepted destination address.

Regards
Henrik


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

  Powered by Linux