diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-02-01 18:22:15 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-02-01 18:22:15 +0000 |
| commit | 9e58019dc287493e02543d614c975cc14295a71e (patch) | |
| tree | 328bccfba6e86794eafc546a7cb7ec8aff007b7f /src/os/unix/ngx_shared.h | |
| parent | e8038c0d1a044f2046d5f7adeb1586d17a5bd81a (diff) | |
| download | nginx-9e58019dc287493e02543d614c975cc14295a71e.tar.gz nginx-9e58019dc287493e02543d614c975cc14295a71e.tar.bz2 | |
nginx-0.3.24-RELEASE importrelease-0.3.24
*) Workaround: for bug in FreeBSD kqueue.
*) Bugfix: now a response generated by the "post_action" directive is
not transferred to a client.
*) Bugfix: the memory leaks were occurring if many log files were used.
*) Bugfix: the first "proxy_redirect" directive was working inside one
location.
*) Bugfix: on 64-bit platforms segmentation fault may occurred on start
if the many names were used in the "server_name" directives; the bug
had appeared in 0.3.18.
Diffstat (limited to '')
| -rw-r--r-- | src/os/unix/ngx_shmem.h (renamed from src/os/unix/ngx_shared.h) | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/os/unix/ngx_shared.h b/src/os/unix/ngx_shmem.h index 29e4a33d5..72c54f166 100644 --- a/src/os/unix/ngx_shared.h +++ b/src/os/unix/ngx_shmem.h @@ -12,7 +12,15 @@ #include <ngx_core.h> -void *ngx_create_shared_memory(size_t size, ngx_log_t *log); +typedef struct { + u_char *addr; + size_t size; + ngx_log_t *log; +} ngx_shm_t; + + +ngx_int_t ngx_shm_alloc(ngx_shm_t *shm); +void ngx_shm_free(ngx_shm_t *shm); #endif /* _NGX_SHARED_H_INCLUDED_ */ |
