httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, Vodafone Group <ruediger.pl...@vodafone.com>
Subject RE: core filters vs non-blocking socket (was Re: Fix for Windows bug#52476)
Date Mon, 13 Aug 2012 13:44:39 GMT


> -----Original Message-----
> From: Jeff Trawick [mailto:]
> Sent: Montag, 13. August 2012 15:35
> To: dev@httpd.apache.org
> Subject: Re: core filters vs non-blocking socket (was Re: Fix for
> Windows bug#52476)
> 
> On Mon, Aug 13, 2012 at 9:31 AM, Plüm, Rüdiger, Vodafone Group
> <ruediger.pluem@vodafone.com> wrote:
> >
> > And if we do a read with a timeout don't we do a poll with a timeout
> where it does not
> > matter whether the socket is blocking or non blocking?
> 
> from a high-level, yes; but there is some logic in APR to guess when
> data is already available to read, and that requires that the socket
> is non-blocking in case the guess is incorrect (that logic is
> associated with the APR_INCOMPLETE_READ flag)

Thanks for the detailed clarification.

Regards

Rüdiger



Mime
View raw message