]> prime8.dev >> repos - ttyd.git/commitdiff
info.max_http_header_data = 65535; (#1088)
authorOlivier Van Rompuy <112625555+oli4vr@users.noreply.github.com>
Thu, 27 Apr 2023 02:32:06 +0000 (04:32 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2023 02:32:06 +0000 (10:32 +0800)
src/server.c

index 1d7c72aad9c18b96b01ef370ebf274fa090b9c0b..1556d71be8d8041adfaeef63bc9ea23882de954d 100644 (file)
@@ -321,7 +321,7 @@ int main(int argc, char **argv) {
 #ifndef LWS_WITHOUT_EXTENSIONS
   info.extensions = extensions;
 #endif
-  info.max_http_header_data = 20480;
+  info.max_http_header_data = 65535;
 
   int debug_level = LLL_ERR | LLL_WARN | LLL_NOTICE;
   char iface[128] = "";