The data pointer in ngx_open_file_t objects must be initialized.

Uninitialized pointer may result in arbitrary segfaults if access_log is used
without buffer and without variables in file path.

Patch by Tatsuhiko Kubo (ticket #268).



git-svn-id: svn://svn.nginx.org/nginx/trunk@5002 73f98a42-aea0-e011-b76d-00259023448c
Events: added check for duplicate "events" directive.



git-svn-id: svn://svn.nginx.org/nginx/trunk@5003 73f98a42-aea0-e011-b76d-00259023448c
SSL: speedup loading of configs with many ssl servers.

The patch saves one EC_KEY_generate_key() call per server{} block by
informing OpenSSL about SSL_OP_SINGLE_ECDH_USE we are going to use before
the SSL_CTX_set_tmp_ecdh() call.

For a configuration file with 10k simple server{} blocks with SSL enabled
this change reduces startup time from 18s to 5s on a slow test box here.


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


git-svn-id: svn://svn.nginx.org/nginx/trunk@5005 73f98a42-aea0-e011-b76d-00259023448c
Fixed "proxy_pass" with IP address and no port (ticket #276).

Upstreams created by "proxy_pass" with IP address and no port were
broken in 1.3.10, by not initializing port in u->sockaddr.

API change: ngx_parse_url() was modified to always initialize port
(in u->sockaddr and in u->port), even for the u->no_resolve case;
ngx_http_upstream() and ngx_http_upstream_add() were adopted.


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


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