mån 2007-02-12 klockan 13:14 +0530 skrev Siddhesh PaiRaikar:
> On 2/12/07, Siddhesh PaiRaikar <[EMAIL PROTECTED]> wrote:
> > hi..
> >
> > Can someone please tell me .. that when squid passes on the URL to another
> > program such as say squidguard...
> >
> > does it write to stdin or somewhere else... and also wen it gets back a URL
> > from the external program.. does it get it on stdout...

yes, or it writes to an IPC channel connected to the helpers stdin, and
receives responses on an IPC channel connected to the helpers stdout.

> > as when i studied the code of squidguard i found out that squidguard writes
> > the URLs to and retrieves them from stdout and stdin respectively buti am
> > unable to find that matching code in squid... i tried a lot..

redirect.c, calling helper.c functions for talking to the helper, using
ipc.c functions for setting up the communication.

Regards
Henrik

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to