update boost

This commit is contained in:
2023-11-24 12:56:13 -06:00
parent cfc99971af
commit 19d727037a
9260 changed files with 849256 additions and 299957 deletions

View File

@@ -137,7 +137,7 @@ struct impl_base<true>
return false;
if(zs.avail_out >= 6)
{
zo.write(zs, zlib::Flush::full, ec);
zo.write(zs, zlib::Flush::sync, ec);
BOOST_ASSERT(! ec);
// remove flush marker
zs.total_out -= 4;
@@ -302,6 +302,11 @@ struct impl_base<true>
return pmd_ != nullptr;
}
bool should_compress(std::size_t n_bytes) const
{
return n_bytes >= pmd_opts_.msg_size_threshold;
}
std::size_t
read_size_hint_pmd(
std::size_t initial_size,
@@ -447,6 +452,11 @@ struct impl_base<false>
return false;
}
bool should_compress(std::size_t) const
{
return false;
}
std::size_t
read_size_hint_pmd(
std::size_t initial_size,