On Nov 15, 2007, at 12:17 PM, Ruediger Pluem wrote:
I don't follow that, but I'm still not quite fully awake yet...
Well, as far as I understand AP_MODE_SPECULATIVE its purpose is to
read data and return
it to the caller, but leave the data in the input filter chain such
that a following read
(or better a get_brigade) from the input filter chain returns the
same data again.
And in the case above we only read the data from ser_in_bucket, but
unlike in the AP_MODE_READBYTES
case we do not create a transient bucket with data and add it to
the bb brigade. So the
caller gets back an empty brigade with no data.
Ahh yes, I see know. Yep. This appears to be the case that we're
dropping bytes.