comparison src/http/ngx_http_postpone_filter_module.c @ 118:644a7935144b NGINX_0_3_6

nginx 0.3.6 *) 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; bug 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 <http://sysoev.ru>
date Mon, 24 Oct 2005 00:00:00 +0400
parents f63280c59dd5
children 91372f004adf
comparison
equal deleted inserted replaced
117:0821ea4ccfc5 118:644a7935144b
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 */ }