Mercurial > hg > nginx-vendor-0-5
comparison src/os/unix/ngx_posix_config.h @ 334:42974b9e97b5 NGINX_0_5_37
nginx 0.5.37
*) Bugfix: if sub_filter and SSI were used together, then responses
might were transferred incorrectly.
*) Bugfix: large SSI inclusions might be truncated.
*) Bugfix: worker processes might not catch reconfiguration and log
rotation signals.
*) Bugfix: nginx could not be built on latest Fedora 9 Linux.
Thanks to Roxis.
*) Bugfix: a segmentation fault might occur in worker process on Linux,
if keepalive was enabled.
*) Bugfix: an alert "sendmsg() failed (9: Bad file descriptor)" on some
64-bit platforms while reconfiguration.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 00:00:00 +0400 |
parents | 26ff8d6b618d |
children |
comparison
equal
deleted
inserted
replaced
333:30e294abe0ca | 334:42974b9e97b5 |
---|---|
108 | 108 |
109 #if (__FreeBSD__) && (__FreeBSD_version < 400017) | 109 #if (__FreeBSD__) && (__FreeBSD_version < 400017) |
110 | 110 |
111 #include <sys/param.h> /* ALIGN() */ | 111 #include <sys/param.h> /* ALIGN() */ |
112 | 112 |
113 /* FreeBSD 3.x has no CMSG_SPACE() at all and has the broken CMSG_DATA() */ | 113 /* |
114 * FreeBSD 3.x has no CMSG_SPACE() and CMSG_LEN() and has the broken CMSG_DATA() | |
115 */ | |
114 | 116 |
115 #undef CMSG_SPACE | 117 #undef CMSG_SPACE |
116 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) | 118 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) |
119 | |
120 #undef CMSG_LEN | |
121 #define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l)) | |
117 | 122 |
118 #undef CMSG_DATA | 123 #undef CMSG_DATA |
119 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) | 124 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) |
120 | 125 |
121 #endif | 126 #endif |