The default server lookup is now done only once per connection.

Previously, it was done for every request in a connection.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5086 73f98a42-aea0-e011-b76d-00259023448c
Introduced the ngx_http_set_connection_log() macro.

No functional changes.


git-svn-id: svn://svn.nginx.org/nginx/trunk@5087 73f98a42-aea0-e011-b76d-00259023448c
Changed interface of ngx_http_validate_host().


git-svn-id: svn://svn.nginx.org/nginx/trunk@5088 73f98a42-aea0-e011-b76d-00259023448c
SNI: ignore captures in server_name regexes when matching by SNI.

This change helps to decouple ngx_http_ssl_servername() from the request
object.

Note: now we close connection in case of error during server name lookup
for request.  Previously, we did so only for HTTP/0.9 requests.


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