fix: accept more headers and bigger requests for browsers
ci/woodpecker/push/docker Pipeline was successful
Details
ci/woodpecker/push/docker Pipeline was successful
Details
parent
101172aed6
commit
a6b407ebaf
|
@ -0,0 +1,30 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
lander:
|
||||
image: 'lander-test'
|
||||
build:
|
||||
context: .
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.lander.rule=Host(`lander.docker.localhost`)'
|
||||
- 'traefik.http.routers.lander.entrypoints=web'
|
||||
- 'traefik.http.services.lander.loadbalancer.server.port=18080'
|
||||
environment:
|
||||
- 'LANDER_API_KEY=test'
|
||||
volumes:
|
||||
- './data:/data'
|
||||
|
||||
traefik:
|
||||
image: 'traefik:2.10'
|
||||
command:
|
||||
# Enabling Docker provider
|
||||
- "--api.insecure=true"
|
||||
- "--providers.docker=true"
|
||||
- '--entrypoints.web.address=:80'
|
||||
- "--providers.docker.exposedbydefault=false"
|
||||
ports:
|
||||
- '80:80'
|
||||
- '8080:8080'
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
@ -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…
Reference in New Issue