On Fri, Mar 18, 2005, Henrik Nordstrom wrote: > On Thu, 17 Mar 2005, Adrian Chadd wrote: > > >I've created a new squid-2.5 branch in sourceforge - tidyup_deferred_reads. > >I'm going to play around with re-arranging or replacing the deferred reads > >mechanism with something a little more flexible and event-driven-io happy. > > What ideas do you have on how this should be designed?
I'm thinking of some simple feedback from the client -> server saying "yup, I've copied a little more". The http.c side stuff can then stop reading when it finds itself too far ahead, and resume reading when the clients have caught up. I'm trying to avoid a too specific hack, like hiding the FD in the right place for this kind of notification. i'd rather keep the FD stuff seperate from the client/server abstraction. adrian -- Adrian Chadd "To believe with certainty we must first <[EMAIL PROTECTED]> begin by doubting."