]> git.kaiwu.me - nginx.git/commit
SSL: preserve default server context in connection (ticket #235).
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 19 Oct 2015 18:22:38 +0000 (21:22 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 19 Oct 2015 18:22:38 +0000 (21:22 +0300)
commita6befbb40f801a68f451c349bc02bc27762e68b7
treec6e901219d6a76614e115f160e453b93c069183a
parent7d2af13f3a51e5932e850db751171bd4fb6a93c6
SSL: preserve default server context in connection (ticket #235).

This context is needed for shared sessions cache to work in configurations
with multiple virtual servers sharing the same port.  Unfortunately, OpenSSL
does not provide an API to access the session context, thus storing it
separately.

In collaboration with Vladimir Homutov.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h