httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] mod_proxy_html is filling error_log
Date Thu, 19 Apr 2007 10:31:12 GMT
On Thu, 19 Apr 2007 12:11:27 +0200
Torsten Foertsch <torsten.foertsch@gmx.net> wrote:


> [Thu Apr 19 08:42:50 2007] [error] [client 192.168.254.25] Error in
> bucket read

Yes, that's a minor bug in 2.5.2. with Apache 2.2.  There's a fix
but I haven't got around to releasing it as a version.

> The development version of mod_proxy_html reads a bit different:
> 
>     if ( APR_BUCKET_IS_EOS(b) ) {
> ...
>     } else if ( apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ)
> 	      == APR_SUCCESS ) {
> ...
>     } else {
>       ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, f->r, "Error in bucket
> read") ; }

Erk!  So it does.  I thought that had been properly updated.

> b)
> c)

Either of those is OK.  Technically (b) is probably more correct.

> If b), what kind of handling is needed?

In principle, a flush bucket becomes an ap_fflush.  But that's fuzzy,
because there'll be a small amount of data buffered in the HTMLparser
which *can't* be flushed.  So it'll need careful testing.  And so long
as mod_proxy is feeding us HTML, it's not really important.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message