So,
A summery:
unix_sockets = how helpers communicate with squid instances.
And not only that..
All squid instances in SMP communicate using unix_sockets which are
inter-kernel sockets to allow any process communicate with any other
process.
(Found this:
/*
* Do we have unix sockets? (required for the winbind ntlm helper
*/
)
I have a question which is not for squid-users but I will just write it
down to not forget it later in the morning.
Q: Why each and every squid instance startup every helper as a "fork"
while we do have IPC_SOCKETS? We can use one dedicated INSTANCE(in the
far future) to do all these *consulting* while using a rock like approach.
I do understand that concurrency in this situation must be True in all
cases no matter what happens.
A: What Is ICAP there for?.. Auth helpers probably cannot use the exact
same interface(?) as ICAP offers.
Thanks!!
Eliezer
On 11/14/2013 11:29 PM, Amos Jeffries wrote:
>
> Still looking a bit too deep. Try this one:
>
> http://bazaar.launchpad.net/~squid/squid/3.4/view/head:/src/external_acl.cc#L1535
>
>
> Notice it uses IPC_TCP_SOCKET.
>
> Amos
Received on Thu Nov 14 2013 - 22:33:46 MST
This archive was generated by hypermail 2.2.0 : Fri Nov 15 2013 - 12:00:04 MST