浏览代码

civetweb.c: remove dead assignemnt of 'keep_alive'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf 11 年之前
父节点
当前提交
7d7ec45f25
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/civetweb.c

+ 0 - 1
src/civetweb.c

@@ -6378,7 +6378,6 @@ static void process_new_connection(struct mg_connection *conn)
     char ebuf[100];
 
     keep_alive_enabled = !strcmp(conn->ctx->config[ENABLE_KEEP_ALIVE], "yes");
-    keep_alive = 0;
 
     /* Important: on new connection, reset the receiving buffer. Credit goes
        to crule42. */