httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian McQueen" <>
Subject Re: untrapped error in filter
Date Thu, 07 Sep 2006 23:53:49 GMT
Replying to myself for the education of others.  The filters do not
write the data to any permanent location.  The filter parses the data,
and the content generators, or some other specific process is
responsible for writing the data to a permanent location.  The temp
file is of no concern to the programmer.  Its used by apreq to handle
large files and is not related to the final actions of the users of
apreq.  I need to detect the write error myself in my content
generator, or wherever it is that I wrote that file.

Brian McQueen

On 9/6/06, Brian McQueen <> wrote:
> The parser use a temp file during its handling of some data.  When
> that temp file is moved to its final location there seems to be no
> error detection.  We noticed the problem when we were writing the temp
> file to a large empty partition, but the final destination for the
> file was a small partition - much too small for the file.  The temp
> file was truncated when it was moved from the temp location to the
> final location and no error was indicated.
> I'll work on a fix if I find the code.  Its a bit hard to find.
> Brian McQueen

View raw message