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.htmlReceived 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