id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5619,zlib: Add support for additional flush mode,mb@…,Jonathan Turkanis,"The zlib filter uses Z_SYNC_FLUSH which is the most widely used flush mode. However SSH requires Z_PARTIAL_FLUSH. For further information please see the ""Partial Flush"" paragraph at: www.bolet.org/~pornin/deflate-flush.html It would be trivial to add the new flush mode:[[BR]] '''File: zlib.hpp'''[[BR]] Add [[BR]] BOOST_IOSTREAMS_DECL extern const int partial_flush;[[BR]] Add additional argument to zlib_params:[[BR]] zlib_params( [[BR]] int flush_mode = zlib::default_flush_mode[[BR]] add int flush_mode_ member to zlib_base[[BR]] init flush_mode_ member in zlib_base::do_init[[BR]] flush_mode_ = p.flush_mode;[[BR]] and in the filter function change the xinflate to:[[BR]] int result = xinflate(flush_mode_);[[BR]] '''File: zlib.cpp'''[[BR]] const int partial_flush = Z_PARTIAL_FLUSH;[[BR]] const int default_flush_mode = sync_flush;[[BR]] [[BR]] Please let me know if there is an interest for the diff files.",Feature Requests,new,To Be Determined,iostreams,Boost Development Trunk,Problem,,,