comparison src/core/ngx_file.h @ 633:f971949ffb58 release-0.3.38

nginx-0.3.38-RELEASE import *) Feature: the ngx_http_dav_module. *) Change: the ngx_http_perl_module optimizations. Thanks to Sergey Skvortsov. *) Feature: the ngx_http_perl_module supports the $r->request_body_file method. *) Feature: the "client_body_in_file_only" directive. *) Workaround: now on disk overflow nginx tries to write access logs once a second only. Thanks to Anton Yuzhaninov and Maxim Dounin. *) Bugfix: now the "limit_rate" directive more precisely limits rate if rate is more than 100 Kbyte/s. Thanks to ForJest. *) Bugfix: now the IMAP/POP3 proxy escapes the "\r" and "\n" symbols in login and password to pass authorization server. Thanks to Maxim Dounin.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 14 Apr 2006 09:53:38 +0000
parents e48ebafc6939
children e60fe4cf1d4e
comparison
equal deleted inserted replaced
632:5c60f5f0887d 633:f971949ffb58
47 off_t offset; 47 off_t offset;
48 ngx_path_t *path; 48 ngx_path_t *path;
49 ngx_pool_t *pool; 49 ngx_pool_t *pool;
50 char *warn; 50 char *warn;
51 51
52 ngx_uint_t mode;
53
52 unsigned persistent:1; 54 unsigned persistent:1;
53 } ngx_temp_file_t; 55 } ngx_temp_file_t;
54 56
55 57
56 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); 58 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
57 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, 59 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
58 ngx_pool_t *pool, ngx_uint_t persistent); 60 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t mode);
59 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 61 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
60 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); 62 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
61 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); 63 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
62 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); 64 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);
63 65