Hi,

I am wondering whether it would be possible to replace SQUID_MAXFD by 
Biggest_FD in the following code snippet from ipc.cc:

    /* Make sure all other filedescriptors are closed */
    for (x = 3; x < SQUID_MAXFD; ++x)
        close(x);


The motivation behind this request is to speed up reloading Squid in 
paravirtualized environment.

Regards,

Michal

---
Michal Luscon
Associate Software Engineer
Red Hat, Inc.
Brno, Czech Rep.


Reply via email to