summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.c b/client.c
index 92f7609..2a2393f 100644
--- a/client.c
+++ b/client.c
@@ -194,8 +194,7 @@ static int client_parse_request(struct client *cl, char *data)
req->method = h_method;
req->version = h_version;
- if (req->version < UH_HTTP_VER_1_1 || req->method == UH_HTTP_MSG_POST ||
- !conf.http_keepalive)
+ if (req->version < UH_HTTP_VER_1_1 || !conf.http_keepalive)
req->connection_close = true;
return CLIENT_STATE_HEADER;