comparison src/os/win32/ngx_files.c @ 501:d4ea69372b94 release-0.1.25

nginx-0.1.25-RELEASE import *) Bugfix: nginx did run on Linux parisc. *) Feature: nginx now does not start under FreeBSD if the sysctl kern.ipc.somaxconn value is too big. *) Bugfix: if a request was internally redirected by the ngx_http_index_module module to the ngx_http_proxy_module or ngx_http_fastcgi_module modules, then the index file was not closed after request completion. *) Feature: the "proxy_pass" can be used in location with regular expression. *) Feature: the ngx_http_rewrite_filter_module module supports the condition like "if ($HTTP_USER_AGENT ~ MSIE)". *) Bugfix: nginx started too slow if the large number of addresses and text values were used in the "geo" directive. *) Change: a variable name must be declared as "$name" in the "geo" directive. The previous variant without "$" is still supported, but will be removed soon. *) Feature: the "%{VARIABLE}v" logging parameter. *) Feature: the "set $name value" directive. *) Bugfix: gcc 4.0 compatibility. *) Feature: the --with-openssl-opt=OPTIONS autoconfiguration directive.
author Igor Sysoev <igor@sysoev.ru>
date Sat, 19 Mar 2005 12:38:37 +0000
parents 64d9afb209da
children e48ebafc6939
comparison
equal deleted inserted replaced
500:9a0f304470f5 501:d4ea69372b94
177 u_char *name; 177 u_char *name;
178 ngx_int_t rc; 178 ngx_int_t rc;
179 ngx_uint_t collision; 179 ngx_uint_t collision;
180 ngx_atomic_uint_t num; 180 ngx_atomic_uint_t num;
181 181
182 if (!(name = ngx_palloc(pool, to->len + 1 + 10 + 1 + sizeof("DELETE")))) { 182 name = ngx_palloc(pool, to->len + 1 + 10 + 1 + sizeof("DELETE"));
183 if (name == NULL) {
183 return NGX_ERROR; 184 return NGX_ERROR;
184 } 185 }
185 186
186 ngx_memcpy(name, to->data, to->len); 187 ngx_memcpy(name, to->data, to->len);
187 188
299 300
300 return NGX_OK; 301 return NGX_OK;
301 } 302 }
302 303
303 304
305 ngx_int_t
306 ngx_de_info(u_char *name, ngx_dir_t *dir)
307 {
308 return NGX_OK;
309 }
310
311
312 ngx_int_t
313 ngx_de_link_info(u_char *name, ngx_dir_t *dir)
314 {
315 return NGX_OK;
316 }
317
318
304 ngx_int_t ngx_file_append_mode(ngx_fd_t fd) 319 ngx_int_t ngx_file_append_mode(ngx_fd_t fd)
305 { 320 {
306 #if 0 321 #if 0
307 if (LockFile(fd, 0, 0, 0xffffffff, 0xffffffff) == 0) { 322 if (LockFile(fd, 0, 0, 0xffffffff, 0xffffffff) == 0) {
308 return NGX_ERROR; 323 return NGX_ERROR;