GeoIP: removed pseudo-support of "proxy" and "netspeed" databases.


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


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


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


git-svn-id: svn://svn.nginx.org/nginx/trunk@5034 73f98a42-aea0-e011-b76d-00259023448c
Added support for {SHA} passwords (ticket #50).

Note: use of {SHA} passwords is discouraged as {SHA} password scheme is
vulnerable to attacks using rainbow tables.  Use of {SSHA}, $apr1$ or
crypt() algorithms as supported by OS is recommended instead.

The {SHA} password scheme support is added to avoid the need of changing
the scheme recorded in password files from {SHA} to {SSHA} because such
a change hides security problem with {SHA} passwords.

Patch by Louis Opter, with minor changes.


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


git-svn-id: svn://svn.nginx.org/nginx/trunk@5066 73f98a42-aea0-e011-b76d-00259023448c
Fixed false memset warning on Linux with -O3 (ticket #275).

Prodded by John Leach.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5070 73f98a42-aea0-e011-b76d-00259023448c
Configure: rebuild perl module nginx.so if headers are changed.

Note: the "-p" argument of cp(1) dropped intentionally, to force nginx.so
rebuild.  It is considered too boring to properly list all dependencies
in Makefile.PL.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5071 73f98a42-aea0-e011-b76d-00259023448c
Configure: changed default compiler from "gcc" to "cc".
    
This allows to automatically pick the preferred system compiler on
systems with multiple compilers.

Reviewed by:	mdounin, ru


git-svn-id: svn://svn.nginx.org/nginx/trunk@5072 73f98a42-aea0-e011-b76d-00259023448c
Proxy: support for connection upgrade (101 Switching Protocols).

This allows to proxy WebSockets by using configuration like this:

    location /chat/ {
        proxy_pass http://backend;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

Connection upgrade is allowed as long as it was requested by a client
via the Upgrade request header.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5073 73f98a42-aea0-e011-b76d-00259023448c
Proxy: fixed do_write handling in previous commit.

As rightfully complained by MSVC, do_write variable was used uninitialized.
Correct fix is to set it's initial value based on event happened.


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