From 8098e4d6015095f22b364f99d9e07d2bd357e287 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Mat=C4=9Bj=C3=A1k?= Date: Fri, 18 May 2018 10:58:37 +0200 Subject: [PATCH] line length equals buffer size --- mt_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2