[PATCH] remove ngx_ssl_server_conf_index

Daniel Black daniel.black at openquery.com
Tue Oct 2 02:09:00 UTC 2012

Just a minor cleanup as I was doing some development around the openssl event code. As we're adding indexes for ngx_ssl_certificate_index and ngx_ssl_stapling_index it makes sense to remove the ones we're not using.

The patch removes the configuration pointer ngx_ssl_server_conf_index out of the SSL context.

As the pointer could be a ngx_http_ssl_srv_conf_t or a ngx_mail_ssl_conf_t
it isn't particularly useful as you can't reliable cast it in any 
event_openssl callback.

Perhaps for this reason it hasn't been used.

Daniel Black
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_ngx_ssl_server_conf_index.patch
Type: text/x-patch
Size: 2534 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121002/7ef1bab1/attachment.bin>

More information about the nginx-devel mailing list