Re: [SQU] Fwd: Help regarding squid redirector

From: Henrik Nordstrom <[email protected]>
Date: Mon, 25 Sep 2000 09:37:33 +0200

SHUVENDU DANG wrote:
> Where does the redirector read the input from and where does it
> write its output to? Means how do squid and the redirector
> communicate with each other?

Squid and the redirector communicates with each other using pipes
connected to the stdin and stdout file handles on the redirector.

What this means is that the redirector uses the normal input/output
methods, and all you need to rember is to turn off buffering for output
in the program (or at least set it to line buffering). When a program is
connected to a terminal UNIX by default uses line buffering, but when
connected to a pipe block buffering is used.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Sep 25 2000 - 02:30:59 MDT

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