Mercurial > hg > nginx
comparison src/http/ngx_http_copy_filter_module.c @ 3518:eb3aaf8bd2a9
fix SSI include stub for valid empty responses
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 14 May 2010 12:18:44 +0000 |
parents | 04cfc09b8b8d |
children | 7450029ff51e |
comparison
equal
deleted
inserted
replaced
3517:a4ee4a075ac5 | 3518:eb3aaf8bd2a9 |
---|---|
124 c->aio_sendfile = (clcf->aio == NGX_HTTP_AIO_SENDFILE); | 124 c->aio_sendfile = (clcf->aio == NGX_HTTP_AIO_SENDFILE); |
125 #endif | 125 #endif |
126 } | 126 } |
127 #endif | 127 #endif |
128 | 128 |
129 r->request_output = 1; | 129 if (in && in->buf && ngx_buf_size(in->buf)) { |
130 r->request_output = 1; | |
131 } | |
130 } | 132 } |
131 | 133 |
132 #if (NGX_HAVE_FILE_AIO) | 134 #if (NGX_HAVE_FILE_AIO) |
133 ctx->aio = r->aio; | 135 ctx->aio = r->aio; |
134 #endif | 136 #endif |