Mercurial > hg > nginx-vendor-0-6
diff src/os/unix/ngx_channel.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 | 8a529698ed55 |
children | e1ada20fc595 |
line wrap: on
line diff
--- a/src/os/unix/ngx_channel.c +++ b/src/os/unix/ngx_channel.c @@ -17,7 +17,7 @@ ngx_int_t ngx_write_channel(ngx_socket_t struct iovec iov[1]; struct msghdr msg; -#if (HAVE_MSGHDR_MSG_CONTROL) +#if (NGX_HAVE_MSGHDR_MSG_CONTROL) union { struct cmsghdr cm; @@ -83,7 +83,7 @@ ngx_int_t ngx_read_channel(ngx_socket_t struct iovec iov[1]; struct msghdr msg; -#if (HAVE_MSGHDR_MSG_CONTROL) +#if (NGX_HAVE_MSGHDR_MSG_CONTROL) union { struct cmsghdr cm; char space[CMSG_SPACE(sizeof(int))]; @@ -100,7 +100,7 @@ ngx_int_t ngx_read_channel(ngx_socket_t msg.msg_iov = iov; msg.msg_iovlen = 1; -#if (HAVE_MSGHDR_MSG_CONTROL) +#if (NGX_HAVE_MSGHDR_MSG_CONTROL) msg.msg_control = (caddr_t) &cmsg; msg.msg_controllen = sizeof(cmsg); #else @@ -131,7 +131,7 @@ ngx_int_t ngx_read_channel(ngx_socket_t return NGX_ERROR; } -#if (HAVE_MSGHDR_MSG_CONTROL) +#if (NGX_HAVE_MSGHDR_MSG_CONTROL) if (ch->command == NGX_CMD_OPEN_CHANNEL) {