Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-13 15:03:52 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2021-09-13 15:11:44 +0300
commita34d35681f9cfecfa4ea6a33b953bc6b39339d47 (patch)
treed3464d1596eccc603e254a5eab5f0b2654f8e470 /include/common.h
parented21863f3d475ea98755ef303fc95d759f7e2a88 (diff)
...G...PS. [ZBXNEXT-6840] cherry picked from 5.0 and fixed conflict in trapper.c
(cherry picked from commit 84efddb04ec9ceb7743d30c711c0afac12bbf777)
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 36a337da2c8..04800e09f21 100644
--- a/include/common.h
+++ b/include/common.h
@@ -1162,7 +1162,8 @@ void zbx_setproctitle(const char *fmt, ...) __zbx_attr_format_printf(1, 2);
#define ZBX_JAN_2038 2145916800
#define ZBX_JAN_1970_IN_SEC 2208988800.0 /* 1970 - 1900 in seconds */
-#define ZBX_MAX_RECV_DATA_SIZE (1 * ZBX_GIBIBYTE)
+#define ZBX_MAX_RECV_DATA_SIZE (1 * ZBX_GIBIBYTE)
+#define ZBX_MAX_RECV_LARGE_DATA_SIZE (__UINT64_C(16) * ZBX_GIBIBYTE)
/* max length of base64 data */
#define ZBX_MAX_B64_LEN (16 * ZBX_KIBIBYTE)