1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 06:03:12 +02:00

Limit request body to 4k by default.

This commit is contained in:
Bram Matthys
2022-06-09 16:38:46 +02:00
parent 3e35b8e96a
commit 0eb42155dd
2 changed files with 35 additions and 9 deletions
+1
View File
@@ -1729,6 +1729,7 @@ struct WebRequest {
long long content_length; /**< "Content-Length" as sent by the client */
long long chunk_remaining;
TransferEncoding transfer_encoding;
long long config_max_request_buffer_size; /**< CONFIG: Maximum request length allowed */
};
typedef struct WebServer WebServer;