fix: accept more headers and bigger requests for browsers
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
This commit is contained in:
parent
101172aed6
commit
a6b407ebaf
3 changed files with 32 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue