On Thu, 19 Apr 2007 12:11:27 +0200
Torsten Foertsch <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]