Mercurial > hg > nginx-mail
annotate src/os/unix/ngx_shmem.h @ 627:016632f0fb18 NGINX_0_8_44
nginx 0.8.44
*) Change: now nginx does not cache by default backend responses, if
they have a "Set-Cookie" header line.
*) Feature: the "listen" directive supports the "setfib" parameter.
Thanks to Andrew Filonov.
*) Bugfix: the "sub_filter" directive might change character case on
partial match.
*) Bugfix: compatibility with HP/UX.
*) Bugfix: compatibility with AIX xcl_r compiler.
*) Bugfix: nginx treated a large SSLv2 packets as plain requests.
Thanks to Miroslaw Jaworski.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 05 Jul 2010 00:00:00 +0400 |
parents | 549994537f15 |
children |
rev | line source |
---|---|
154 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
236 | 7 #ifndef _NGX_SHMEM_H_INCLUDED_ |
8 #define _NGX_SHMEM_H_INCLUDED_ | |
154 | 9 |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 | |
15 typedef struct { | |
16 u_char *addr; | |
17 size_t size; | |
520 | 18 ngx_str_t name; |
154 | 19 ngx_log_t *log; |
520 | 20 ngx_uint_t exists; /* unsigned exists:1; */ |
154 | 21 } ngx_shm_t; |
22 | |
23 | |
24 ngx_int_t ngx_shm_alloc(ngx_shm_t *shm); | |
25 void ngx_shm_free(ngx_shm_t *shm); | |
26 | |
27 | |
236 | 28 #endif /* _NGX_SHMEM_H_INCLUDED_ */ |