On mån, 2007-07-23 at 13:55 -0600, Alex Rousskov wrote:
> Reversed bug #2011 fix because it may slow down ICAP, BodyPipe, and other code
> using zero-delay events to implement "asynchronous" calls.
Can you elaborate a little on this?
If the event is zero-delay it should be picked up immediately, at least
unless you are doing a chain of zero-delay events without using an
"primary" event.
> The code should probably be rewritten (a) to avoid any waiting/blocking when
> there are ready events and (b) to allow waiting longer when there are no ready
> events.
Hmm.. in Squid-2 the loop delay is automatically adjusted to account for
timer events. Think the same should be done in Squid-3, and to have
other kinds of events feed a notification to the main event engine.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT