mån 2011-08-29 klockan 15:04 +0530 skrev senthil kumar:

> When selecting cache_peer among many peers, whether peer which has
> originserver, does have any preference or any special feature?

No. It simply tells Squid that this peer is a web server and expects
requests to be sent in web server format and not proxy format.

Note: many web servers accepts both formats (actually required by
HTTP/1.1).

As Amos already mentioned there is some additional minor twists as
originserver also tells Squid that the peer is NOT an HTTP proxy, so it
can't sent proxy type requests to it.

All in all, originserver flag basically only makes sense in reverse
proxy modes, and then only when forwarding requests to acutal web
servers as peers. Normally those are parent peers to the reverse proxy.

Regards
Henrik

Reply via email to