On 17/09/11 20:01, Amos Jeffries wrote: <snip>
So I'm thinking option (4), with option (1) in specific cases would be best. Option (3) whenever we fiddle with the fd directly. Option (1) whenever
Oops. s/3/4/
its known that the FD will be used. Possibly some time after option (3)
s/3/4/
was done, so unsetting the half-imported flag if set earlier. This way we avoid fd_table and related CPU consumptions entirely for most of these. And still roughly follow the semantics of what the flags mean: things done when opening this FD, so we can repeat the sequence in comm_reset() as needed.
[renumbered the options for your #2, but missed a few references] Amos -- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.15 Beta testers wanted for 3.2.0.11
