]> git.kaiwu.me - nginx.git/commit
SNI: ignore captures in server_name regexes when matching by SNI.
authorValentin Bartenev <vbart@nginx.com>
Wed, 27 Feb 2013 17:06:52 +0000 (17:06 +0000)
committerValentin Bartenev <vbart@nginx.com>
Wed, 27 Feb 2013 17:06:52 +0000 (17:06 +0000)
commite1d8158b5e7b2cc3c3f0d1b9ed61f94ccb44e3f1
tree417006e04a5de3b34efd63117cb8b89eb54876a6
parent8ca4dff8c89b1b7260aad559f315bdd601c1c79a
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.
src/http/ngx_http_request.c