Просмотр исходного кода

civetweb.c: remove dead assignemnt of 'keep_alive'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf 11 лет назад
Родитель
Сommit
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];
     char ebuf[100];
 
 
     keep_alive_enabled = !strcmp(conn->ctx->config[ENABLE_KEEP_ALIVE], "yes");
     keep_alive_enabled = !strcmp(conn->ctx->config[ENABLE_KEEP_ALIVE], "yes");
-    keep_alive = 0;
 
 
     /* Important: on new connection, reset the receiving buffer. Credit goes
     /* Important: on new connection, reset the receiving buffer. Credit goes
        to crule42. */
        to crule42. */