comparison src/http/ngx_http_postpone_filter_module.c @ 376:d13234035cad NGINX_0_6_32

nginx 0.6.32 *) Change: the "none" parameter in the "ssl_session_cache" directive; now this is default parameter. Thanks to Rob Mueller. *) Change: now the 0x00-0x1F, '"' and '\' characters are escaped as \xXX in an access_log. Thanks to Maxim Dounin. *) Change: now nginx allows several "Host" request header line. *) Feature: the "modified" flag in the "expires" directive. *) Feature: the $uid_got and $uid_set variables may be used at any request processing stage. *) Feature: the $hostname variable. Thanks to Andrei Nigmatulin. *) Feature: DESTDIR support. Thanks to Todd A. Fisher and Andras Voroskoi. *) Bugfix: if sub_filter and SSI were used together, then responses might were transferred incorrectly. *) Bugfix: large SSI inclusions might be truncated. *) Bugfix: the "proxy_pass" directive did not work with the HTTPS protocol; the bug had appeared in 0.6.9. *) Bugfix: worker processes might not catch reconfiguration and log rotation signals. *) Bugfix: nginx could not be built on latest Fedora 9 Linux. Thanks to Roxis. *) Bugfix: a segmentation fault might occur in worker process on Linux, if keepalive was enabled.
author Igor Sysoev <http://sysoev.ru>
date Mon, 07 Jul 2008 00:00:00 +0400
parents 38e7b94d63ac
children 1878e9c00f22
comparison
equal deleted inserted replaced
375:52f3c9c7eff0 376:d13234035cad
166 166
167 for ( ;; ) { 167 for ( ;; ) {
168 pr = r->postponed; 168 pr = r->postponed;
169 169
170 if (pr == NULL) { 170 if (pr == NULL) {
171 return NGX_OK; 171 break;
172 } 172 }
173 173
174 if (pr->request) { 174 if (pr->request) {
175 175
176 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 176 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
194 r->postponed = r->postponed->next; 194 r->postponed = r->postponed->next;
195 pr = r->postponed; 195 pr = r->postponed;
196 } 196 }
197 197
198 if (pr == NULL) { 198 if (pr == NULL) {
199 return NGX_OK; 199 break;
200 } 200 }
201 201
202 out = pr->out; 202 out = pr->out;
203 203
204 if (out) { 204 if (out) {
213 } 213 }
214 } 214 }
215 215
216 r->postponed = r->postponed->next; 216 r->postponed = r->postponed->next;
217 } 217 }
218
219 if (r->out) {
220 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
221 "http postpone filter out again \"%V?%V\"",
222 &r->uri, &r->args);
223
224 r->connection->data = r;
225 return NGX_AGAIN;
226 }
227
228 return NGX_OK;
218 } 229 }
219 230
220 231
221 static ngx_int_t 232 static ngx_int_t
222 ngx_http_postpone_filter_init(ngx_conf_t *cf) 233 ngx_http_postpone_filter_init(ngx_conf_t *cf)