Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_shared.c @ 18:6f8b0dc0f8dd NGINX_0_1_9
nginx 0.1.9
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; bug appeared in 0.1.8.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 00:00:00 +0300 |
parents | 74b1868dd3cd |
children |
comparison
equal
deleted
inserted
replaced
17:9acb68bb0698 | 18:6f8b0dc0f8dd |
---|---|
6 | 6 |
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 | 9 |
10 | 10 |
11 #if (HAVE_MAP_ANON) | 11 #if (NGX_HAVE_MAP_ANON) |
12 | 12 |
13 void *ngx_create_shared_memory(size_t size, ngx_log_t *log) | 13 void *ngx_create_shared_memory(size_t size, ngx_log_t *log) |
14 { | 14 { |
15 void *p; | 15 void *p; |
16 | 16 |
23 } | 23 } |
24 | 24 |
25 return p; | 25 return p; |
26 } | 26 } |
27 | 27 |
28 #elif (HAVE_MAP_DEVZERO) | 28 #elif (NGX_HAVE_MAP_DEVZERO) |
29 | 29 |
30 void *ngx_create_shared_memory(size_t size, ngx_log_t *log) | 30 void *ngx_create_shared_memory(size_t size, ngx_log_t *log) |
31 { | 31 { |
32 void *p; | 32 void *p; |
33 ngx_fd_t fd; | 33 ngx_fd_t fd; |
54 } | 54 } |
55 | 55 |
56 return p; | 56 return p; |
57 } | 57 } |
58 | 58 |
59 #elif (HAVE_SYSVSHM) | 59 #elif (NGX_HAVE_SYSVSHM) |
60 | 60 |
61 #include <sys/ipc.h> | 61 #include <sys/ipc.h> |
62 #include <sys/shm.h> | 62 #include <sys/shm.h> |
63 | 63 |
64 | 64 |