cast the output of the ngx_ssl_get_connection to (ngx_connection_t *) since by default the macro returns a void *.
This is so we can ngx_ssl_get_connection(ssl_ctx)->log directly that assigning it to an intermediate. It will also generate a warning if we use the wrong variable type.
--
Daniel Black_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel