Removed unused flag unexpected_eof from ngx_connection_t.
This commit is contained in:
parent
24251be5e9
commit
9a72fc4fae
4 changed files with 0 additions and 7 deletions
|
@ -169,7 +169,6 @@ struct ngx_connection_s {
|
||||||
|
|
||||||
unsigned log_error:3; /* ngx_connection_log_error_e */
|
unsigned log_error:3; /* ngx_connection_log_error_e */
|
||||||
|
|
||||||
unsigned unexpected_eof:1;
|
|
||||||
unsigned timedout:1;
|
unsigned timedout:1;
|
||||||
unsigned error:1;
|
unsigned error:1;
|
||||||
unsigned destroyed:1;
|
unsigned destroyed:1;
|
||||||
|
|
|
@ -217,8 +217,6 @@ ngx_event_accept(ngx_event_t *ev)
|
||||||
c->local_sockaddr = ls->sockaddr;
|
c->local_sockaddr = ls->sockaddr;
|
||||||
c->local_socklen = ls->socklen;
|
c->local_socklen = ls->socklen;
|
||||||
|
|
||||||
c->unexpected_eof = 1;
|
|
||||||
|
|
||||||
#if (NGX_HAVE_UNIX_DOMAIN)
|
#if (NGX_HAVE_UNIX_DOMAIN)
|
||||||
if (c->sockaddr->sa_family == AF_UNIX) {
|
if (c->sockaddr->sa_family == AF_UNIX) {
|
||||||
c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED;
|
c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED;
|
||||||
|
|
|
@ -159,8 +159,6 @@ ngx_event_post_acceptex(ngx_listening_t *ls, ngx_uint_t n)
|
||||||
c->recv_chain = ngx_recv_chain;
|
c->recv_chain = ngx_recv_chain;
|
||||||
c->send_chain = ngx_send_chain;
|
c->send_chain = ngx_send_chain;
|
||||||
|
|
||||||
c->unexpected_eof = 1;
|
|
||||||
|
|
||||||
c->listening = ls;
|
c->listening = ls;
|
||||||
|
|
||||||
rev = c->read;
|
rev = c->read;
|
||||||
|
|
|
@ -793,8 +793,6 @@ ngx_http_handler(ngx_http_request_t *r)
|
||||||
|
|
||||||
r->connection->log->action = NULL;
|
r->connection->log->action = NULL;
|
||||||
|
|
||||||
r->connection->unexpected_eof = 0;
|
|
||||||
|
|
||||||
if (!r->internal) {
|
if (!r->internal) {
|
||||||
switch (r->headers_in.connection_type) {
|
switch (r->headers_in.connection_type) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in a new issue