[Boost-bugs] [Boost C++ Libraries] #13075: gzip_decompressor cannot be pushed to filtering_stream if provided with input_seekable

Subject: [Boost-bugs] [Boost C++ Libraries] #13075: gzip_decompressor cannot be pushed to filtering_stream if provided with input_seekable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-15 14:46:12


#13075: gzip_decompressor cannot be pushed to filtering_stream if provided with
input_seekable
------------------------------+-----------------------
 Reporter: hellohee | Owner: turkanis
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: iostreams
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: gzip, seekable |
------------------------------+-----------------------
 There is a ticket regarding making filtering stream seekable:
 [https://svn.boost.org/trac/boost/ticket/2449]
 However, the solution doesn't apply to situations where gzip decompressor
 is pushed.

 boost::iostreams::filtering_stream<boost::iostreams::input_seekable>
 instream;
 boost::iostreams::file_source file(filename, std::ios_base::in |
 std::ios_base::binary);
 instream.push(boost::iostreams::gzip_decompressor()); // -> fails HERE
 instream.push(file);

--
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13075>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-06-15 14:50:15 UTC