Re: helper's handles

2005-04-12 Thread Henrik Nordstrom
On Tue, 12 Apr 2005, Evgeny Kotsuba wrote: But what in case if there is no activity on the helper? There is activity on the helper when Squid asks it to shut down by closing the write fd squid->helper. If we have N redirectors, then there is the chances than some of them will never called , isn

Re: helper's handles

2005-04-11 Thread Evgeny Kotsuba
On Mon, 11 Apr 2005 22:22:16 +0200 (CEST) Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On Mon, 11 Apr 2005, Evgeny Kotsuba wrote: Is helperHandleRead() called in situation when squid just started but there is no one client connection ? helperHandleRead is always pending for read from the help

Re: helper's handles

2005-04-11 Thread Henrik Nordstrom
On Mon, 11 Apr 2005, Evgeny Kotsuba wrote: Is helperHandleRead() called in situation when squid just started but there is no one client connection ? helperHandleRead is always pending for read from the helper, called whenever there is ane read class activity on the helper read fd. This inclu

Re: helper's handles

2005-04-11 Thread Evgeny Kotsuba
On Mon, 11 Apr 2005 11:17:48 +0200 (CEST) Henrik Nordstrom <[EMAIL PROTECTED]> wrote: On Mon, 11 Apr 2005, Evgeny Kotsuba wrote: I have a look at void helper.c and can't find point were srv->rfd is closed helperHandleRead() when seeing the connection closed by the helper. Is helperHandleRead

Re: helper's handles

2005-04-11 Thread Henrik Nordstrom
On Mon, 11 Apr 2005, Evgeny Kotsuba wrote: I have a look at void helper.c and can't find point were srv->rfd is closed helperHandleRead() when seeing the connection closed by the helper. Regards Henrik

helper's handles

2005-04-10 Thread Evgeny Kotsuba
Hi, I have a look at void helper.c and can't find point were srv->rfd is closed helperShutdown() has only comm_close() call for srv->wfd; If there are really no close for srv->rfd then at each reconfigure N handles will be non closed, where N is a number of helpers (redirectors+au