Make the max file line length configurable

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Change-Id: I0bc70f4459a6eaa6f4c87887a5ee7822faf22443
This commit is contained in:
Xiang Xiao
2021-05-10 19:42:32 +08:00
committed by Jakub Jelen
parent dbe504ea0a
commit f2bd44969b
5 changed files with 22 additions and 7 deletions

View File

@@ -40,7 +40,9 @@
#include "libssh/server.h"
#include "libssh/options.h"
#ifndef MAX_LINE_SIZE
#define MAX_LINE_SIZE 1024
#endif
/* Flags used for the parser state */
#define PARSING 1