# Nginx-1.2.3

**URL:** <https://www.ruby-forum.com/t/nginx-1-2-3/221960>\
**Category:** NGINX\
**Created:** [August 7, 2012, 2:54pm UTC](https://www.ruby-forum.com/t/nginx-1-2-3/221960 "2012-08-07T14:54:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 7, 2012, 2:54pm UTC](https://www.ruby-forum.com/t/nginx-1-2-3/221960/1 "2012-08-07T14:54:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [August 7, 2012, 5:54pm UTC](https://www.ruby-forum.com/t/nginx-1-2-3/221960/2 "2012-08-07T17:54:32Z")

</div>

Hello Nginx U.s,

Now available: Nginx 1.2.3 For Windows [Nginx 1.2.3 for Windows – Kevin Worthington](http://goo.gl/BifNJ) (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](http://nginx.org).

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

## Thank you, Kevin

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

> **[Kevin Worthington](https://kevinworthington.com/)**
>
> Practical Tech Guides, Troubleshooting, and Insights on the Modern Internet

[http://twitter.com/kworthington](http://twitter.com/kworthington)

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [August 8, 2012, 6:19pm UTC](https://www.ruby-forum.com/t/nginx-1-2-3/221960/3 "2012-08-08T18:19:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [August 8, 2012, 6:42am UTC](https://www.ruby-forum.com/t/nginx-1-2-3/221960/4 "2012-08-08T06:42:21Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
