try to send data in one TCP packed if possible,

add random mask support for short frames.
may helps with #34
This commit is contained in:
Markus Sattler
2015-12-28 02:52:55 +01:00
parent 848979ecf0
commit ff33056309
3 changed files with 58 additions and 17 deletions

View File

@ -35,6 +35,7 @@
#ifdef ESP8266
#define WEBSOCKETS_MAX_DATA_SIZE (15*1024)
#define WEBSOCKETS_USE_BIG_MEM
#else
//atmega328p has only 2KB ram!
#define WEBSOCKETS_MAX_DATA_SIZE (1024)