Story#105754990 Update epp patch to allow 8MB files

This commit is contained in:
Vladimir Krylov 2015-10-28 11:51:34 +02:00
parent a3272fab43
commit 9f56e1bbaa

View file

@ -5,7 +5,7 @@
#define EPP_TCP_HEADER_SIZE 4 /* just one longword */ #define EPP_TCP_HEADER_SIZE 4 /* just one longword */
-#define EPP_MAX_FRAME_SIZE 65536 /* don't accept larger xml data blocks */ -#define EPP_MAX_FRAME_SIZE 65536 /* don't accept larger xml data blocks */
+#define EPP_MAX_FRAME_SIZE 8388608 /* don't accept larger xml data blocks */ +#define EPP_MAX_FRAME_SIZE 15728640 /* don't accept larger xml data blocks (8MB + 30% base64 + xml + savings)*/
#define TRIDSIZE 128 /* actually, it should be 3 to 64 chars, #define TRIDSIZE 128 /* actually, it should be 3 to 64 chars,
but due to unicode we'll give it more room. */ but due to unicode we'll give it more room. */