diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-04-28 16:30:19 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-04-28 16:30:19 +0300 |
commit | 2a83e5fa6d8944de8f3ef4907775e3db7409d672 (patch) | |
tree | 8fdd5cfcc008721c06d711655d4cf3085273fe5f /src | |
parent | f315b7a924fa2c0da69c21078c930391a424aeef (diff) | |
download | nginx-2a83e5fa6d8944de8f3ef4907775e3db7409d672.tar.gz nginx-2a83e5fa6d8944de8f3ef4907775e3db7409d672.zip |
Removed unused flag unexpected_eof from ngx_connection_t.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_connection.h | 1 | ||||
-rw-r--r-- | src/event/ngx_event_accept.c | 2 | ||||
-rw-r--r-- | src/event/ngx_event_acceptex.c | 2 | ||||
-rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
4 files changed, 0 insertions, 7 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index b0d162ae0..6357c645d 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -169,7 +169,6 @@ struct ngx_connection_s { unsigned log_error:3; /* ngx_connection_log_error_e */ - unsigned unexpected_eof:1; unsigned timedout:1; unsigned error:1; unsigned destroyed:1; diff --git a/src/event/ngx_event_accept.c b/src/event/ngx_event_accept.c index 1c87a34d7..14841c016 100644 --- a/src/event/ngx_event_accept.c +++ b/src/event/ngx_event_accept.c @@ -217,8 +217,6 @@ ngx_event_accept(ngx_event_t *ev) 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; diff --git a/src/event/ngx_event_acceptex.c b/src/event/ngx_event_acceptex.c index 1dbfd6ce9..e414fe446 100644 --- a/src/event/ngx_event_acceptex.c +++ b/src/event/ngx_event_acceptex.c @@ -159,8 +159,6 @@ ngx_event_post_acceptex(ngx_listening_t *ls, ngx_uint_t n) c->recv_chain = ngx_recv_chain; c->send_chain = ngx_send_chain; - c->unexpected_eof = 1; - c->listening = ls; rev = c->read; diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index bd36aeccc..e3c070f16 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -793,8 +793,6 @@ ngx_http_handler(ngx_http_request_t *r) r->connection->log->action = NULL; - r->connection->unexpected_eof = 0; - if (!r->internal) { switch (r->headers_in.connection_type) { case 0: |