[ 
https://issues.apache.org/jira/browse/SANDBOX-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672310#action_12672310
 ] 

Stefan Bodewig commented on SANDBOX-124:
----------------------------------------

BZip2CompressorOutputStream now has a flush method, I'm not sure it actually 
works as expected, though.

> [compress] bzip2 - implement flush()
> ------------------------------------
>
>                 Key: SANDBOX-124
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-124
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Compress
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Noel Grandin
>            Priority: Minor
>
> Not sure if this is possible within the bzip2 stream format...
> Some applications (e.g. interactive streams, block protocols) need to
> periodically force a flush of the compressed data stream so that the other 
> side
> can see the data.
> I tried to do this by copying code from close(), but I end up with lots of CRC
> errors.
> Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to