Mercurial > hg > nginx-quic
comparison src/core/ngx_file.c @ 629:65bf042c0b4f release-0.3.36
nginx-0.3.36-RELEASE import
*) Feature: the ngx_http_addition_filter_module.
*) Feature: the "proxy_pass" and "fastcgi_pass" directives may be used
inside the "if" block.
*) Feature: the "proxy_ignore_client_abort" and
"fastcgi_ignore_client_abort" directives.
*) Feature: the "$request_completion" variable.
*) Feature: the ngx_http_perl_module supports the $r->request_method
and $r->remote_addr.
*) Feature: the ngx_http_ssi_module supports the "elif" command.
*) Bugfix: the "\/" string in the expression of the "if" command of the
ngx_http_ssi_module was treated incorrectly.
*) Bugfix: in the regular expressions in the "if" command of the
ngx_http_ssi_module.
*) Bugfix: if the relative path was specified in the
"client_body_temp_path", "proxy_temp_path", "fastcgi_temp_path", and
"perl_modules" directives, then the directory was used relatively to
a current path but not to a server prefix.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 05 Apr 2006 13:40:54 +0000 |
parents | 9c2f3ed7a247 |
children | f971949ffb58 |
comparison
equal
deleted
inserted
replaced
628:b338276e1aab | 629:65bf042c0b4f |
---|---|
209 ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 209 ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
210 { | 210 { |
211 char *p = conf; | 211 char *p = conf; |
212 | 212 |
213 ssize_t level; | 213 ssize_t level; |
214 ngx_str_t *value; | |
214 ngx_uint_t i, n; | 215 ngx_uint_t i, n; |
215 ngx_str_t *value; | |
216 ngx_path_t *path, **slot; | 216 ngx_path_t *path, **slot; |
217 | 217 |
218 slot = (ngx_path_t **) (p + cmd->offset); | 218 slot = (ngx_path_t **) (p + cmd->offset); |
219 | 219 |
220 if (*slot) { | 220 if (*slot) { |
227 } | 227 } |
228 | 228 |
229 value = cf->args->elts; | 229 value = cf->args->elts; |
230 | 230 |
231 path->name = value[1]; | 231 path->name = value[1]; |
232 | |
233 if (ngx_conf_full_name(cf->cycle, &path->name) == NGX_ERROR) { | |
234 return NULL; | |
235 } | |
236 | |
232 path->len = 0; | 237 path->len = 0; |
233 path->cleaner = (ngx_gc_handler_pt) cmd->post; | 238 path->cleaner = (ngx_gc_handler_pt) cmd->post; |
234 path->conf_file = cf->conf_file->file.name.data; | 239 path->conf_file = cf->conf_file->file.name.data; |
235 path->line = cf->conf_file->line; | 240 path->line = cf->conf_file->line; |
236 | 241 |