diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-11 19:44:19 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-02-14 10:26:49 +0300 |
commit | 422563c63b2aedaa32fa217aca92b369ac4be755 (patch) | |
tree | ec2de1c8f5fc14fb839ce0cbc69dcf4b160b7c73 /bbot/utility.txx | |
parent | 30411915355d6946de11638daf98724ab41a9acd (diff) |
Fix result manifest request failures due to exceeding request size limit
Diffstat (limited to 'bbot/utility.txx')
-rw-r--r-- | bbot/utility.txx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bbot/utility.txx b/bbot/utility.txx index 398c78d..d2aad10 100644 --- a/bbot/utility.txx +++ b/bbot/utility.txx @@ -208,7 +208,7 @@ namespace bbot template <typename T> void - serialize_manifest (const T& m, const path& f, const char* what) + serialize_manifest (const T& m, const path& f, const char* what, bool ll) { using namespace std; using namespace butl; @@ -218,7 +218,7 @@ namespace bbot ofdstream ofs (f, fdopen_mode::binary); auto_rmfile arm (f); // Try to remove on failure ignoring errors. - serialize_manifest (m, ofs, f.string (), what, true); + serialize_manifest (m, ofs, f.string (), what, true, ll); ofs.close (); arm.cancel (); @@ -235,13 +235,14 @@ namespace bbot ostream& os, const string& name, const char* what, - bool fh) + bool fh, + bool ll) { using namespace butl; try { - manifest_serializer s (os, name); + manifest_serializer s (os, name, ll); m.serialize (s); return; } |