fix: accept more headers and bigger requests for browsers
All checks were successful
ci/woodpecker/push/docker Pipeline was successful

This commit is contained in:
Jef Roosens 2023-07-21 12:20:27 +02:00
parent 101172aed6
commit a6b407ebaf
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 32 additions and 2 deletions

View file

@ -6,7 +6,7 @@
#include <stdlib.h>
// Size of the read and write buffers for each connection, in bytes
#define EVENT_LOOP_BUFFER_SIZE 1024
#define EVENT_LOOP_BUFFER_SIZE 2048
/**
* State of a connection

View file

@ -9,7 +9,7 @@
#include "http/types.h"
#include "picohttpparser.h"
#define HTTP_MAX_ALLOWED_HEADERS 16
#define HTTP_MAX_ALLOWED_HEADERS 32
#define HTTP_MAX_REGEX_GROUPS 4
/**