Mercurial > hg > nginx
comparison src/http/ngx_http_postpone_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 | 9262f520ce21 |
children | 947c6fd27699 |
comparison
equal
deleted
inserted
replaced
640:5fd31c2fe4a8 | 641:5e8fb59c18c1 |
---|---|
87 | 87 |
88 if (ngx_chain_add_copy(r->pool, &pr->out, in) == NGX_ERROR) { | 88 if (ngx_chain_add_copy(r->pool, &pr->out, in) == NGX_ERROR) { |
89 return NGX_ERROR; | 89 return NGX_ERROR; |
90 } | 90 } |
91 | 91 |
92 #if 1 | |
93 { | |
94 ngx_chain_t *cl; | |
95 ngx_buf_t *b = NULL; | |
96 for (cl = pr->out; cl; cl = cl->next) { | |
97 if (cl->buf == b) { | |
98 ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, | |
99 "the same buf was used in postponed"); | |
100 ngx_debug_point(); | |
101 return NGX_ERROR; | |
102 } | |
103 b = cl->buf; | |
104 } | |
105 } | |
106 #endif | |
107 | |
92 if (r != r->connection->data || r->postponed->request) { | 108 if (r != r->connection->data || r->postponed->request) { |
93 return NGX_AGAIN; | 109 return NGX_AGAIN; |
94 } | 110 } |
95 } | 111 } |
96 | 112 |