[Mod_gzip] mod_gzip 1.3.26.1a TRANSMIT_ERROR:32

mod_gzip@lists.over.net mod_gzip@lists.over.net
Mon, 12 Jan 2004 16:29:49 +0100


Hi Etienne,


> We are seeing the following error in the error_log file
> [Tue Dec 30 22:11:10 2003] [error] mod_gzip: TRANSMIT_ERROR:32
>
> We have also had users report that they sometimes get a blank
> page being returned.
>
> 1. What is the cause of this error?

Something unknown to mod_gzip.

mod_gzip tried to send bytes from the (compressed)
file content using its function "mod_gzip_send()",
and within that, a loop calling the Apache internal
function "ap_rwrite()" to output blocks (of up to 4
KB) of data.
This Apache function returns the number of bytes
it actually sent; if this differs from the number of
bytes that were to be sent, then mod_gzip
considers this an error.
In this case mod_gzip_send() fetches the value of
the "errno" variable (which contains an operating
system dependend error code) and returns this to
the caller. mod_gzip itself does not know what "32"
means on your OS platform - it can only report the
problem, and you have seen how this looks like.

(source code position: mod_gzip.c, lines 5144-5165)

> 2. Is this error and the blank page related?

Probably yes, I would think, as the error occurs
during the output of compressed data.

Regards, Michael