From fb5ba40f0cfd619f906c7d62981b25056b4dde1a Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Sun, 16 May 2010 12:34:19 +0200 Subject: [PATCH] support for unladen swallow --- protocol.c | 2 +- uwsgi.c | 2 ++ uwsgi.h | 9 +++++++++ uwsgiconfig.py | 6 ++++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/protocol.c b/protocol.c index 8f584098b8..3d0b7ecddc 100644 --- a/protocol.c +++ b/protocol.c @@ -2,7 +2,7 @@ extern struct uwsgi_server uwsgi; -static size_t get_content_length(uint8_t *buf, uint16_t size) { +static size_t get_content_length(char *buf, uint16_t size) { int i; size_t val = 0 ; for(i=0;i