cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <>
Subject [jira] Closed: (COCOON-291) CachingOutputStream doesn't handle severed connections
Date Tue, 25 Oct 2005 13:19:58 GMT
     [ ]
Helma van der Linden closed COCOON-291:

    Resolution: Fixed

closed with resolution = fixed

> CachingOutputStream doesn't handle severed connections
> ------------------------------------------------------
>          Key: COCOON-291
>          URL:
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.0.4
>  Environment: Operating System: other
> Platform: All
>     Reporter: Stuart Roebuck
>     Assignee: Cocoon Developers Team

> If a file is being generated by the ResourceReader and an error occurs during transmission,
because the connection is closed before the file is fully transmitted, then the exception
is caught by ResourceReader and the CachingOutputStream returns the partial output as if it
were complete.  The next time the same resource is requested from the StreamCache, only the
partial file is returned.
> This fault is present in 2.0.2 and still appears to be present in the new ProcessingPipeline
> If the CachingOutputStream could catch " Broken pipe" exceptions
and continue to accept write calls until the stream has been completed (but not passing them
to the 'receiver') this would ensure that the cache contained the complete file, even though
the connection has been closed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message