From 4523c0c2ae946e1e5c982a01c961d3aaacd7858a Mon Sep 17 00:00:00 2001 From: ame Date: Sun, 8 Sep 2024 01:51:33 -0500 Subject: net hardening --- src/net/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net/common.h') diff --git a/src/net/common.h b/src/net/common.h index 04447f1..4120734 100644 --- a/src/net/common.h +++ b/src/net/common.h @@ -22,6 +22,7 @@ #define max_con 200 //2^42 +#define MAX_HEADER_SIZE (1<<20) #define BUFFER_SIZE 20000 #define HTTP_BUFFER_SIZE 4098 #define max_content_length 200000 -- cgit v1.2.3