On Tue, 24 Apr 2007, Henrik Nordstrom wrote:
> Hmm.. it's fine (and probably preferred) for the external daemon to use
> select and fd_set. This restriction is just on code linked into the
> squid binary.
external daemon does not use select. it is a very simple loop:
while (fgets(buf, UNLINK_BUF_LEN, stdin)) {
if ((t = strchr(buf, '\n')))
*t = '\0';
x = unlink(buf);
if (x < 0)
printf("ERR\n");
else
printf("OK\n");
}
Received on Tue Apr 24 2007 - 11:14:45 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT