Commit bee22312 authored by Sergey Lyubka's avatar Sergey Lyubka

removed dead code

parent bdb16c62
...@@ -4641,11 +4641,6 @@ static void close_local_endpoint(struct connection *conn) { ...@@ -4641,11 +4641,6 @@ static void close_local_endpoint(struct connection *conn) {
NSF_BUFFER_BUT_DONT_SEND | NSF_CLOSE_IMMEDIATELY | NSF_BUFFER_BUT_DONT_SEND | NSF_CLOSE_IMMEDIATELY |
MG_HEADERS_SENT | MG_LONG_RUNNING); MG_HEADERS_SENT | MG_LONG_RUNNING);
memset(c, 0, sizeof(*c)); 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) { if (keep_alive) {
on_recv_data(conn); // Can call us recursively if pipelining is used on_recv_data(conn); // Can call us recursively if pipelining is used
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment