comparison src/http/ngx_http_postpone_filter_module.c @ 569:174f1e853e1e release-0.3.6

nginx-0.3.6-RELEASE import *) Change: now the IMAP/POP3 proxy do not send the empty login to authorization server. *) Feature: the "log_format" supports the variables in the $name form. *) Bugfix: if at least in one server was no the "listen" directive, then nginx did not listen on the 80 port; the bug had appeared in 0.3.3. *) Bugfix: if the URI part is omitted in "proxy_pass" directive, the the 80 port was always used.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 24 Oct 2005 15:09:41 +0000
parents 45033d85b30e
children 4e296b7d25bf
comparison
equal deleted inserted replaced
568:91e400506e99 569:174f1e853e1e
53 ngx_chain_t *out; 53 ngx_chain_t *out;
54 ngx_http_postponed_request_t *pr, **ppr; 54 ngx_http_postponed_request_t *pr, **ppr;
55 55
56 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 56 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
57 "http postpone filter \"%V\" %p", &r->uri, in); 57 "http postpone filter \"%V\" %p", &r->uri, in);
58
59 if (r->connection->closed) {
60
61 if (r->postponed) {
62 r->postponed = r->postponed->next;
63 }
64
65 return NGX_ERROR;
66 }
67 58
68 if (r != r->connection->data || (r->postponed && in)) { 59 if (r != r->connection->data || (r->postponed && in)) {
69 60
70 if (r->postponed) { 61 if (r->postponed) {
71 for (pr = r->postponed; pr->next; pr = pr->next) { /* void */ } 62 for (pr = r->postponed; pr->next; pr = pr->next) { /* void */ }