From: Jiří Matěják Date: Fri, 18 May 2018 08:58:37 +0000 (+0200) Subject: line length equals buffer size X-Git-Url: https://rtime.felk.cvut.cz/gitweb/coffee/mt-apps.git/commitdiff_plain/8098e4d6015095f22b364f99d9e07d2bd357e287 line length equals buffer size --- diff --git a/mt_server.h b/mt_server.h index ead05f1..aecab17 100644 --- a/mt_server.h +++ b/mt_server.h @@ -7,7 +7,7 @@ // set these two according to your data // rx buf size must be >= permessage-deflate rx size #define MT_PROTOCOL_RX_BUFFER_SIZE 128 -#define INPUT_LINE_LENGTH 512 +#define INPUT_LINE_LENGTH MT_PROTOCOL_RX_BUFFER_SIZE #define HTTP_PORT 80 // listen here #define HTTP_MOUNTPOINT "/" // mountpoint URL