Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_output_chain.c @ 16:74b1868dd3cd NGINX_0_1_8
nginx 0.1.8
*) Bugfix: in the ngx_http_autoindex_module if the long file names were
in the listing.
*) Feature: the "^~" modifier in the location directive.
*) Feature: the proxy_max_temp_file_size directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 20 Nov 2004 00:00:00 +0300 |
parents | 46833bd150cb |
children | 6f8b0dc0f8dd |
comparison
equal
deleted
inserted
replaced
15:0503cb60c4e4 | 16:74b1868dd3cd |
---|---|
10 | 10 |
11 | 11 |
12 #define NGX_NONE 1 | 12 #define NGX_NONE 1 |
13 | 13 |
14 | 14 |
15 ngx_inline static ngx_int_t | 15 static ngx_inline ngx_int_t |
16 ngx_output_chain_need_to_copy(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf); | 16 ngx_output_chain_need_to_copy(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf); |
17 static ngx_int_t ngx_output_chain_copy_buf(ngx_buf_t *dst, ngx_buf_t *src, | 17 static ngx_int_t ngx_output_chain_copy_buf(ngx_buf_t *dst, ngx_buf_t *src, |
18 ngx_uint_t sendfile); | 18 ngx_uint_t sendfile); |
19 | 19 |
20 | 20 |
186 } | 186 } |
187 } | 187 } |
188 } | 188 } |
189 | 189 |
190 | 190 |
191 ngx_inline static ngx_int_t | 191 static ngx_inline ngx_int_t |
192 ngx_output_chain_need_to_copy(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf) | 192 ngx_output_chain_need_to_copy(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf) |
193 { | 193 { |
194 if (ngx_buf_special(buf)) { | 194 if (ngx_buf_special(buf)) { |
195 return 0; | 195 return 0; |
196 } | 196 } |