Check append limit

This commit is contained in:
M66B
2020-07-03 10:04:09 +02:00
parent d12e7a1d92
commit f4ef463cbd
4 changed files with 19 additions and 4 deletions

View File

@@ -109,6 +109,7 @@ public class MessageHelper {
static final int SMALL_MESSAGE_SIZE = 64 * 1024; // bytes
static final int DEFAULT_ATTACHMENT_DOWNLOAD_SIZE = 256 * 1024; // bytes
static final int HEADERS_SIZE = 32 * 1024; // bytes
static final String HEADER_CORRELATION_ID = "X-Correlation-ID";
private static final int MAX_MESSAGE_SIZE = 10 * 1024 * 1024; // bytes