diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-22 18:32:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-22 18:32:46 +0200 |
commit | 16143f324c030579d447679d5741b63796a4ac9b (patch) | |
tree | 887fa63758205ab24fae5395ac2e4244a2e51067 /bbot/utility | |
parent | 1fef20e94bd9960da1b2ea0b2a41b94a79f8abc5 (diff) |
Make HTTP soft error handling more robust
Diffstat (limited to 'bbot/utility')
-rw-r--r-- | bbot/utility | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bbot/utility b/bbot/utility index 7fe6bfb..3424f2b 100644 --- a/bbot/utility +++ b/bbot/utility @@ -143,6 +143,7 @@ namespace bbot parse_manifest (istream&, const string& name, const char* what, + bool fail_hard = true, bool ignore_unknown = true); template <typename T> @@ -154,7 +155,8 @@ namespace bbot serialize_manifest (const T&, ostream&, const string& name, - const char* what); + const char* what, + bool fail_hard = true); } #include <bbot/utility.txx> |