From: Felix Fietkau Date: Fri, 26 Jul 2013 09:36:45 +0000 (+0200) Subject: disable connection_close override if a keep-alive header is found X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=135afd6343e524cb4fb0e6579cc3447531a401fa;p=oweals%2Fuhttpd.git disable connection_close override if a keep-alive header is found Signed-off-by: Felix Fietkau --- diff --git a/client.c b/client.c index 15f3d8c..9d0ccb7 100644 --- a/client.c +++ b/client.c @@ -293,8 +293,6 @@ static void client_parse_header(struct client *cl, char *data) } else if (!strcmp(data, "connection")) { if (!strcasecmp(val, "close")) r->connection_close = true; - else if (!strcasecmp(val, "keep-alive")) - r->connection_close = false; } else if (!strcmp(data, "user-agent")) { char *str;