From 137d6484e22f2fb1e56f0bab5f4546c109054caa Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Mon, 1 Jul 2013 08:46:20 +0100 Subject: [PATCH] Removed bogus comment --- mongoose.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mongoose.c b/mongoose.c index 74e0b45cb..8ba4466e8 100644 --- a/mongoose.c +++ b/mongoose.c @@ -4895,10 +4895,6 @@ static int getreq(struct mg_connection *conn, char *ebuf, size_t ebuf_len) { !mg_strcasecmp(conn->request_info.request_method, "PUT")) { conn->content_len = -1; } else { - // Content-Length is not set. Set content_len to maximum possible - // value, instructing mg_read() to read data until socket is closed. - // Message boundary is not known in this case, therefore this - // connection must be closed after conn->content_len = 0; } conn->birth_time = time(NULL); -- GitLab