aboutsummaryrefslogtreecommitdiff
path: root/src/net/common.h
diff options
context:
space:
mode:
authorame <[email protected]>2024-09-08 01:51:33 -0500
committerame <[email protected]>2024-09-08 01:51:33 -0500
commit4523c0c2ae946e1e5c982a01c961d3aaacd7858a (patch)
tree0941743962fbde6365a1743911946f33a2bab8fb /src/net/common.h
parent70fb1016bc06339b9fc51bb4674c38e3190880cc (diff)
net hardening
Diffstat (limited to 'src/net/common.h')
-rw-r--r--src/net/common.h1
1 files changed, 1 insertions, 0 deletions
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