Changed max read buffer from 2500 to 2048

This commit is contained in:
anschrammh 2020-12-08 23:25:42 +01:00
parent 5076864bc2
commit 58b8891d41

View File

@ -6,7 +6,7 @@
#include "definition.h" #include "definition.h"
#include "Dictionary.h" #include "Dictionary.h"
//#define DEBUG_FTPS //#define DEBUG_FTPS
#define READ_BUFFER_SIZE 2500 //2500 is max to read sd card, more will crash #define READ_BUFFER_SIZE 2048 //2048 is max to read sd card, more will crash
template <typename T> template <typename T>
class FTPServer : public TCPServer<T> class FTPServer : public TCPServer<T>