Mercurial > hg > nginx-vendor-current
comparison src/http/ngx_http_postpone_filter_module.c @ 146:36af50a5582d NGINX_0_3_20
nginx 0.3.20
*) Bugfix: in SSI handling.
*) Bugfix: the ngx_http_memcached_module did not support the keys in
the "/usr?args" form.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 11 Jan 2006 00:00:00 +0300 |
parents | e1c6ac408b68 |
children | 3689cd4e3228 |
comparison
equal
deleted
inserted
replaced
145:85a84f8da62b | 146:36af50a5582d |
---|---|
94 } | 94 } |
95 } | 95 } |
96 | 96 |
97 if (r->postponed) { | 97 if (r->postponed) { |
98 out = r->postponed->out; | 98 out = r->postponed->out; |
99 r->postponed = r->postponed->next; | 99 if (out) { |
100 r->postponed = r->postponed->next; | |
101 } | |
100 | 102 |
101 } else { | 103 } else { |
102 out = in; | 104 out = in; |
103 } | 105 } |
104 | 106 |
105 rc = NGX_OK; | 107 rc = NGX_OK; |
106 | 108 |
107 if (out || r->main->out || r->main->connection->buffered) { | 109 if (out |
110 || (r->connection->buffered | |
111 & (NGX_HTTP_LOWLEVEL_BUFFERED|NGX_LOWLEVEL_BUFFERED))) | |
112 { | |
108 | 113 |
109 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 114 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
110 "http postpone filter out \"%V?%V\"", &r->uri, &r->args); | 115 "http postpone filter out \"%V?%V\"", &r->uri, &r->args); |
111 | 116 |
112 if (!(out && out->next == NULL && ngx_buf_sync_only(out->buf))) { | 117 if (!(out && out->next == NULL && ngx_buf_sync_only(out->buf))) { |
168 | 173 |
169 r->postponed = r->postponed->next; | 174 r->postponed = r->postponed->next; |
170 pr = r->postponed; | 175 pr = r->postponed; |
171 } | 176 } |
172 | 177 |
178 if (pr == NULL) { | |
179 return NGX_OK; | |
180 } | |
181 | |
173 out = pr->out; | 182 out = pr->out; |
174 | 183 |
175 if (out) { | 184 if (out) { |
176 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 185 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
177 "http postpone filter out postponed \"%V?%V\"", | 186 "http postpone filter out postponed \"%V?%V\"", |