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/win32/ngx_shmem.h | |
parent | e8038c0d1a044f2046d5f7adeb1586d17a5bd81a (diff) | |
download | nginx-release-0.3.24.tar.gz nginx-release-0.3.24.zip |
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 'src/os/win32/ngx_shmem.h')
-rw-r--r-- | src/os/win32/ngx_shmem.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/os/win32/ngx_shmem.h b/src/os/win32/ngx_shmem.h new file mode 100644 index 000000000..fe3e71df6 --- /dev/null +++ b/src/os/win32/ngx_shmem.h @@ -0,0 +1,27 @@ + +/* + * Copyright (C) Igor Sysoev + */ + + +#ifndef _NGX_SHARED_H_INCLUDED_ +#define _NGX_SHARED_H_INCLUDED_ + + +#include <ngx_config.h> +#include <ngx_core.h> + + +typedef struct { + u_char *addr; + size_t size; + HANDLE handle; + 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_ */ |