kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit ea0d314bd9f243bca606696354769acbac795993
parent ae9fabb84f7ca261f2cf1b5ce2e9891a311e3de8
Author: Joris Vink <joris@coders.se>
Date:   Tue, 16 Jul 2013 09:45:45 +0200

Bring down allowed http header size to 4K, perhaps should be tweakable?

Diffstat:
includes/http.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/http.h b/includes/http.h @@ -17,7 +17,7 @@ #ifndef __H_HTTP_H #define __H_HTTP_H -#define HTTP_HEADER_MAX_LEN 8192 +#define HTTP_HEADER_MAX_LEN 4096 #define HTTP_URI_LEN 2000 #define HTTP_USERAGENT_LEN 256 #define HTTP_REQ_HEADER_MAX 25