Well, it depends on which fd you are talking about here.
For each client connection there must only be exacly one ConnStateData
(no more, no less).
There might be any number of ConnStateData structures having store
clients open to a object being retreived from a server.
/Henrik
Adrian Chadd wrote:
>
> I'm looking to move the whole conn->defer.until stuff out of using
> defered reads, and I'm curious to know - is there ever going to be
> a point where there will be more than one connStateData per fd?
> One easy solution to this would be to stick the defer stuff into
> the fde struct and check it in checkTimeouts() - I was just about
> to convert them to events but I figured I'd give this a shot instead.
>
> Ideas here, please? :)
>
> (once this is solved, I can finish a whole bunch of optimisations which
> are becoming a pain due to squid's half-closed detection making squid-
> commloops go highly loopy in the CPU department..)
>
> Thanks!
>
> Adrian
>
> --
> Adrian Chadd "It was then that I knew that I wouldn't
> <adrian@creative.net.au> die, as a doctor wouldn't fart in front
> of a dying boy." -- Angela's Ashes
Received on Wed Oct 18 2000 - 14:21:08 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:51 MST