Nginx-1.2.3

Changes with nginx 1.2.3 07 Aug
2012

*) Feature: the Clang compiler support.

*) Bugfix: extra listening sockets might be created.
   Thanks to Roman Odaisky.

*) Bugfix: nginx/Windows might hog CPU if a worker process failed to
   start.
   Thanks to Ricardo Villalobos Guevara.

*) Bugfix: the "proxy_pass_header", "fastcgi_pass_header",
   "scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header",
   "fastcgi_hide_header", "scgi_hide_header", and 

“uwsgi_hide_header”
directives might be inherited incorrectly.

*) Bugfix: trailing dot in a source value was not ignored if the 

“map”
directive was used with the “hostnames” parameter.

*) Bugfix: incorrect location might be used to process a request if 

a
URI was changed via a “rewrite” directive before an internal
redirect
to a named location.

Maxim D.

Hello Nginx U.s,

Now available: Nginx 1.2.3 For Windows Nginx 1.2.3 for Windows – Kevin Worthington (32-bit and
64-bit versions)

These versions are to support legacy users who are already using
Cygwin based builds of Nginx. Officially supported native Windows
binaries are at nginx.org.

Announcements are also available via my Twitter stream
(http://twitter.com/kworthington), if you prefer to receive updates
that way.

Thank you,
Kevin

Kevin W.
kworthington @ /gmail\ [dot} {com)

http://twitter.com/kworthington

Hello!

On Wed, Aug 08, 2012 at 12:41:36PM +0800, 姚伟斌 wrote:

CPU_SET(i, &mask);
In file included
from src/os/unix/ngx_setaffinity.c:7:
In file included from src/core/ngx_config.h:26:
In file included
from src/os/unix/ngx_linux_config.h:41:
In file included from /usr/include/sched.h:35:

/usr/include/bits/sched.h:145:9: note: instantiated from:
: 0; }))
^
1 diagnostic generated.

Looks like valid warning for a glibc code, you may want to report
it to glibc folks. Nothing here we could do (and actually it’s
one of the reasons we’ve not enabled -Werror for Clang yet).

Maxim D.

Hi, A compile warning in my Ubuntu server:

clang -c -pipe -O -Wall -Wextra -Wpointer-arith -Wno-unused-parameter
-g -I src/core -I src/event -I src/event/modules -I src/os/unix -I
objs
-o objs/src/os/unix/ngx_setaffinity.o \

src/os/unix/ngx_setaffinity.c
src/os/unix/ngx_setaffinity.c:57:13: warning: expression result unused
[-Wunused-value]
CPU_SET(i, &mask);
^~~~~~~~~~~~~~~~~
In file included
from src/os/unix/ngx_setaffinity.c:7:
In file included from src/core/ngx_config.h:26:
In file included
from src/os/unix/ngx_linux_config.h:41:
/usr/include/sched.h:72:33: note: instantiated from:
# define
CPU_SET(cpu, cpusetp) __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
^
In file included
from src/os/unix/ngx_setaffinity.c:7:
In file included from src/core/ngx_config.h:26:
In file included
from src/os/unix/ngx_linux_config.h:41:
In file included from /usr/include/sched.h:35:

/usr/include/bits/sched.h:145:9: note: instantiated from:
: 0; }))
^
1 diagnostic generated.

Clang version:
yaoweibin@li398-116:~/work/nginx-1.2.3$ clang -v
clang version 1.1 (branches/release_27)
Target: i386-pc-linux-gnu
Thread model: posix

OS version:
yaoweibin@li398-116:~/work/nginx-1.2.3$ uname -a
Linux li398-116 3.0.18 #1 SMP Mon Jan 30 11:44:09 EST 2012 i686
GNU/Linux

2012/8/7 Kevin W. [email protected]: