Check raw message file size

This commit is contained in:
M66B
2020-07-03 10:40:10 +02:00
parent bbfeec1a79
commit c05d8faa05
3 changed files with 33 additions and 19 deletions

View File

@@ -109,7 +109,6 @@ 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