]> rtime.felk.cvut.cz Git - coffee/mt-apps.git/commitdiff
line length equals buffer size
authorJiří Matěják <jiri.matejak@fel.cvut.cz>
Fri, 18 May 2018 08:58:37 +0000 (10:58 +0200)
committerJiří Matěják <jiri.matejak@fel.cvut.cz>
Fri, 18 May 2018 08:58:37 +0000 (10:58 +0200)
mt_server.h

index ead05f160e0940707d519a4efc0771466ead2ad6..aecab1723a9ec3f623b19e88ee9a6a363af2d65b 100644 (file)
@@ -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