The official NGINX Open Source repository.
Go to file
Valentin Bartenev 64932a9714 SNI: reuse selected configuration for all requests in a connection.
Previously, only the first request in a connection was assigned the
configuration selected by SNI.  All subsequent requests initially
used the default server's configuration, ignoring SNI, which was
wrong.

Now all subsequent requests in a connection will initially use the
configuration selected by SNI.  This is done by storing a pointer
to configuration in http connection object.  It points to default
server's configuration initially, but changed upon receipt of SNI.

(The request's configuration can be further refined when parsing
the request line and Host: header.)

This change was not made specific to SNI as it also allows slightly
faster access to configuration without the request object.
2013-02-27 17:12:48 +00:00
auto Configure: changed default compiler from "gcc" to "cc". 2013-02-18 11:35:28 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.3.13-RELEASE 2013-02-19 15:14:48 +00:00
misc Updated OpenSSL used for win32 builds. 2013-02-11 23:37:20 +00:00
src SNI: reuse selected configuration for all requests in a connection. 2013-02-27 17:12:48 +00:00
.hgtags release-1.3.13 tag 2013-02-19 15:15:11 +00:00