comparison src/http/ngx_http.c @ 641:5e8fb59c18c1 release-0.3.42

nginx-0.3.42-RELEASE import *) Feature: the "bind" option of the "listen" directive in IMAP/POP3 proxy. *) Bugfix: if the same capture in the "rewrite" directive was used more then once. *) Bugfix: the $sent_http_content_type, $sent_http_content_length, $sent_http_last_modified, $sent_http_connection, $sent_http_keep_alive, and $sent_http_transfer_encoding variables were not written to access log. *) Bugfix: the $sent_http_cache_control returned value of the single "Cache-Control" response header line.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Apr 2006 09:52:47 +0000
parents e60fe4cf1d4e
children 1e720b0be7ec
comparison
equal deleted inserted replaced
640:5fd31c2fe4a8 641:5e8fb59c18c1
723 723
724 #if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) 724 #if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT)
725 ls->deferred_accept = in_addr[a].listen_conf->deferred_accept; 725 ls->deferred_accept = in_addr[a].listen_conf->deferred_accept;
726 #endif 726 #endif
727 727
728 ls->ctx = ctx;
729
730 hip = ngx_palloc(cf->pool, sizeof(ngx_http_in_port_t)); 728 hip = ngx_palloc(cf->pool, sizeof(ngx_http_in_port_t));
731 if (hip == NULL) { 729 if (hip == NULL) {
732 return NGX_CONF_ERROR; 730 return NGX_CONF_ERROR;
733 } 731 }
734 732