Mercurial > hg > nginx-quic
comparison src/event/ngx_event_accept.c @ 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 | 8f038068f4bc |
children | adf25b8d0431 |
comparison
equal
deleted
inserted
replaced
6531:59f8f2dd8b31 | 6532:2f98b5709d79 |
---|---|
215 c->socklen = socklen; | 215 c->socklen = socklen; |
216 c->listening = ls; | 216 c->listening = ls; |
217 c->local_sockaddr = ls->sockaddr; | 217 c->local_sockaddr = ls->sockaddr; |
218 c->local_socklen = ls->socklen; | 218 c->local_socklen = ls->socklen; |
219 | 219 |
220 c->unexpected_eof = 1; | |
221 | |
222 #if (NGX_HAVE_UNIX_DOMAIN) | 220 #if (NGX_HAVE_UNIX_DOMAIN) |
223 if (c->sockaddr->sa_family == AF_UNIX) { | 221 if (c->sockaddr->sa_family == AF_UNIX) { |
224 c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED; | 222 c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED; |
225 c->tcp_nodelay = NGX_TCP_NODELAY_DISABLED; | 223 c->tcp_nodelay = NGX_TCP_NODELAY_DISABLED; |
226 #if (NGX_SOLARIS) | 224 #if (NGX_SOLARIS) |