Re: Transparent caching

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 03 Jan 97 10:04:23 -0800

lists@reflections.mindspring.com writes:

>On Thu, 2 Jan 1997, Todd Graham Lewis wrote:
>
>> It would be really easy to take squid and make it aware of this option.
>> Once it accepts the connection, it has to do a getsockopt on the
>> connection to discover the intended destination. Some pseudocode:
>
>s/getsockopt/getsockname/g;
>
>I hadn't read that others had proposed this same option to the list;
>apologies for the duplication.

Squid already uses getsockname() for virtual host stuff so it seems
to me this should work out-of-the-box. You just need to configure it
like this:

    httpd_accel virtual 80

Duane W.
Received on Fri Jan 03 1997 - 10:11:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:59 MST