Subject: Re: [boost] [iostreams] Inconsistency of "faiture" of writes in Sinks and filters
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-11-02 04:10:06
Opened a ticket:
> I implement the sink device that sometimes may fail on writes.
> When Sink is implemented it should throw an exception on fault. To notify
> the stream on error.
> However it is not always works this way. I've got the exception to "leak" to
> main program when I combine in the filter gzip_comressor() filter that writes
> to output device that its Sink is full. When I call reset on the filter
> the exception in leaking to the program instead of being caught.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk