diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-19 21:22:38 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2015-10-19 21:22:38 +0300 |
| commit | a6befbb40f801a68f451c349bc02bc27762e68b7 (patch) | |
| tree | c6e901219d6a76614e115f160e453b93c069183a /src/event/ngx_event_openssl.h | |
| parent | 7d2af13f3a51e5932e850db751171bd4fb6a93c6 (diff) | |
| download | nginx-a6befbb40f801a68f451c349bc02bc27762e68b7.tar.gz nginx-a6befbb40f801a68f451c349bc02bc27762e68b7.tar.bz2 | |
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.
Diffstat (limited to 'src/event/ngx_event_openssl.h')
| -rw-r--r-- | src/event/ngx_event_openssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h index 08eff6445..c86be2ac2 100644 --- a/src/event/ngx_event_openssl.h +++ b/src/event/ngx_event_openssl.h @@ -46,6 +46,7 @@ typedef struct { typedef struct { ngx_ssl_conn_t *connection; + SSL_CTX *session_ctx; ngx_int_t last; ngx_buf_t *buf; |
