You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@algroup.co.uk> on 1998/07/04 17:01:34 UTC

ap_bflsbuf

ap_blfsbuf has a comment claiming it writes one char then flushes.
AFAICS this is not actually true. What have I missed?

In fact, in the way it is used, it seems to me it actually flushes then
writes a character into the buffer (but this is because it is called
when the buffer is full, rather than because the function actually does
that).

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/

WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/

Re: ap_bflsbuf

Posted by Dean Gaudet <dg...@arctic.org>.
The comment is wrong... you're right.

Dean

On Sat, 4 Jul 1998, Ben Laurie wrote:

> ap_blfsbuf has a comment claiming it writes one char then flushes.
> AFAICS this is not actually true. What have I missed?
> 
> In fact, in the way it is used, it seems to me it actually flushes then
> writes a character into the buffer (but this is because it is called
> when the buffer is full, rather than because the function actually does
> that).
> 
> Cheers,
> 
> Ben.
> 
> -- 
> Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
> Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
> and Technical Director|Email: ben@algroup.co.uk |
> A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
> London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/
> 
> WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/
>