Fixed debugging messages to account that limit_zone was renamed to limit_conn.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4757 73f98a42-aea0-e011-b76d-00259023448c
Win32: fixed cpu hog after process startup failure.

If ngx_spawn_process() failed while starting a process, the process
handle was closed but left non-NULL in the ngx_processes[] array.
The handle later was used in WaitForMultipleObjects() (if there
were multiple worker processes configured and at least one worker
process was started successfully), resulting in infinite loop.

Reported by Ricardo V G:
http://mailman.nginx.org/pipermail/nginx-devel/2012-July/002494.html


git-svn-id: svn://svn.nginx.org/nginx/trunk@4758 73f98a42-aea0-e011-b76d-00259023448c
Replaced a number of "else if" with "elif".


git-svn-id: svn://svn.nginx.org/nginx/trunk@4759 73f98a42-aea0-e011-b76d-00259023448c
Fixed compilation with -Wmissing-prototypes.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4760 73f98a42-aea0-e011-b76d-00259023448c
Added a commented out -Wmissing-prototypes to CFLAGS.

It is commented out to not break builds with 3rd party modules.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4761 73f98a42-aea0-e011-b76d-00259023448c
Made sure to run configure in a "C" locale.

Otherwise, we may fail to properly detect a version of compiler.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4762 73f98a42-aea0-e011-b76d-00259023448c
Added the Clang compiler support.

The -Werror is commented out to not break builds on Linux.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4763 73f98a42-aea0-e011-b76d-00259023448c
When "debug_connection" is configured with a domain name, only the first
resolved address was used.  Now all addresses will be used.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4764 73f98a42-aea0-e011-b76d-00259023448c
Reduced the number of preprocessor directives.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4765 73f98a42-aea0-e011-b76d-00259023448c
ngx_http_upstream_add() should return NULL if an error occurs.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4766 73f98a42-aea0-e011-b76d-00259023448c
Slight optimization in ngx_http_upstream_add(): replaced an expression
known to be constant with the constant value.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4767 73f98a42-aea0-e011-b76d-00259023448c
Removed extraneous GCC warning flags.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4768 73f98a42-aea0-e011-b76d-00259023448c
Improved diagnostics when a directive is specified in the wrong context.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4769 73f98a42-aea0-e011-b76d-00259023448c
Upstream: hide_headers/pass_headers inheritance fix.

Hide headers and pass headers arrays might not be inherited correctly
into a nested location, e.g. in configuration like

    server {
        proxy_hide_header X-Foo;
        location / {
            location /nested/ {
                proxy_pass_header X-Pad;
            }
        }
    }

the X-Foo header wasn't hidden in the location /nested/.

Reported by Konstantin Svist,
http://mailman.nginx.org/pipermail/nginx-ru/2012-July/047555.html


git-svn-id: svn://svn.nginx.org/nginx/trunk@4770 73f98a42-aea0-e011-b76d-00259023448c
ngx_http_find_virtual_server() should return NGX_DECLINED if virtual server not
found.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4771 73f98a42-aea0-e011-b76d-00259023448c
Core: ipv6only is now on by default.

There is a general consensus that this change results in better
consistency between different operating systems and differently
tuned operating systems.

Note: this changes the width and meaning of the ipv6only field
of the ngx_listening_t structure.  3rd party modules that create
their own listening sockets might need fixing.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4772 73f98a42-aea0-e011-b76d-00259023448c
nginx-1.3.4-RELEASE


git-svn-id: svn://svn.nginx.org/nginx/trunk@4773 73f98a42-aea0-e011-b76d-00259023448c
Updated PCRE used for win32 builds.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4775 73f98a42-aea0-e011-b76d-00259023448c
Version bump.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4776 73f98a42-aea0-e011-b76d-00259023448c
Simplified makefile that builds CHANGES.


git-svn-id: svn://svn.nginx.org/nginx/trunk@4777 73f98a42-aea0-e011-b76d-00259023448c