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: svn commit: r1572905 - /httpd/httpd/trunk/server/connection.c
Date Wed, 04 Jun 2014 07:45:37 GMT


> -----Original Message-----
> From: Christophe JAILLET [mailto:christophe.jaillet@wanadoo.fr]
> Sent: Mittwoch, 4. Juni 2014 05:40
> To: dev@httpd.apache.org
> Subject: Re: svn commit: r1572905 - /httpd/httpd/trunk/server/connection.c
> 
> Hi,
> 
> while looking for backport candidates to synch 2.4.x and trunk, I came
> accross this one.
> I don't see where it "avoids a double apr_time_now() call on the first
> succeeding read".
> Because of the 'continue' after the 'timeup' computation, I think that
> the previous code already had only one apr_time_now call on the first
> succeeding read.

But the continue causes the while loop condition to be checked which had an apr_time_now in
the previous code.
So we have two calls to apr_time_now in this case.

Regards

Rüdiger

Mime
View raw message