From bee22312bceb08401030d6966cfc6afef97fb5a8 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 21 Aug 2014 04:13:33 +0100 Subject: [PATCH] removed dead code --- mongoose.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mongoose.c b/mongoose.c index c5a72ffc..61ef71da 100644 --- a/mongoose.c +++ b/mongoose.c @@ -4641,11 +4641,6 @@ static void close_local_endpoint(struct connection *conn) { NSF_BUFFER_BUT_DONT_SEND | NSF_CLOSE_IMMEDIATELY | MG_HEADERS_SENT | MG_LONG_RUNNING); memset(c, 0, sizeof(*c)); -#if 0 - c->num_headers = c->status_code = c->is_websocket = c->content_len = 0; - c->request_method = c->uri = c->http_version = c->query_string = NULL; - memset(c->http_headers, 0, sizeof(c->http_headers)); -#endif if (keep_alive) { on_recv_data(conn); // Can call us recursively if pipelining is used