Mercurial > hg > nginx
changeset 6532:2f98b5709d79
Removed unused flag unexpected_eof from ngx_connection_t.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 28 Apr 2016 16:30:19 +0300 |
parents | 59f8f2dd8b31 |
children | b358d670c654 |
files | src/core/ngx_connection.h src/event/ngx_event_accept.c src/event/ngx_event_acceptex.c src/http/ngx_http_core_module.c |
diffstat | 4 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_connection.h Tue Apr 26 19:31:46 2016 +0300 +++ b/src/core/ngx_connection.h Thu Apr 28 16:30:19 2016 +0300 @@ -169,7 +169,6 @@ unsigned log_error:3; /* ngx_connection_log_error_e */ - unsigned unexpected_eof:1; unsigned timedout:1; unsigned error:1; unsigned destroyed:1;
--- a/src/event/ngx_event_accept.c Tue Apr 26 19:31:46 2016 +0300 +++ b/src/event/ngx_event_accept.c Thu Apr 28 16:30:19 2016 +0300 @@ -217,8 +217,6 @@ c->local_sockaddr = ls->sockaddr; c->local_socklen = ls->socklen; - c->unexpected_eof = 1; - #if (NGX_HAVE_UNIX_DOMAIN) if (c->sockaddr->sa_family == AF_UNIX) { c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED;
--- a/src/event/ngx_event_acceptex.c Tue Apr 26 19:31:46 2016 +0300 +++ b/src/event/ngx_event_acceptex.c Thu Apr 28 16:30:19 2016 +0300 @@ -159,8 +159,6 @@ c->recv_chain = ngx_recv_chain; c->send_chain = ngx_send_chain; - c->unexpected_eof = 1; - c->listening = ls; rev = c->read;
--- a/src/http/ngx_http_core_module.c Tue Apr 26 19:31:46 2016 +0300 +++ b/src/http/ngx_http_core_module.c Thu Apr 28 16:30:19 2016 +0300 @@ -793,8 +793,6 @@ r->connection->log->action = NULL; - r->connection->unexpected_eof = 0; - if (!r->internal) { switch (r->headers_in.connection_type) { case 0: