comparison src/http/modules/ngx_http_ssi_filter_module.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 947c6fd27699
comparison
equal deleted inserted replaced
640:5fd31c2fe4a8 641:5e8fb59c18c1
732 { 732 {
733 ngx_int_t rc; 733 ngx_int_t rc;
734 ngx_buf_t *b; 734 ngx_buf_t *b;
735 ngx_chain_t *cl; 735 ngx_chain_t *cl;
736 736
737 #if 1
738 b = NULL;
739 for (cl = ctx->out; cl; cl = cl->next) {
740 if (cl->buf == b) {
741 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
742 "the same buf was used in ssi");
743 ngx_debug_point();
744 return NGX_ERROR;
745 }
746 b = cl->buf;
747 }
748 #endif
749
737 rc = ngx_http_next_body_filter(r, ctx->out); 750 rc = ngx_http_next_body_filter(r, ctx->out);
738 751
739 if (ctx->busy == NULL) { 752 if (ctx->busy == NULL) {
740 ctx->busy = ctx->out; 753 ctx->busy = ctx->out;
741 754