Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.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 | 3ef7bb882ad4 |
children | adf25b8d0431 |
comparison
equal
deleted
inserted
replaced
6531:59f8f2dd8b31 | 6532:2f98b5709d79 |
---|---|
791 { | 791 { |
792 ngx_http_core_main_conf_t *cmcf; | 792 ngx_http_core_main_conf_t *cmcf; |
793 | 793 |
794 r->connection->log->action = NULL; | 794 r->connection->log->action = NULL; |
795 | 795 |
796 r->connection->unexpected_eof = 0; | |
797 | |
798 if (!r->internal) { | 796 if (!r->internal) { |
799 switch (r->headers_in.connection_type) { | 797 switch (r->headers_in.connection_type) { |
800 case 0: | 798 case 0: |
801 r->keepalive = (r->http_version > NGX_HTTP_VERSION_10); | 799 r->keepalive = (r->http_version > NGX_HTTP_VERSION_10); |
802 break; | 800 break; |