diff src/http/ngx_http_script.c @ 4304:ed922fb9d6c1

Fixed segfault on ssl servers without cert with SNI (ticket #54). Non-default servers may not have ssl context created if there are no certificate defined. Make sure to check if ssl context present before using it.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 22 Nov 2011 16:27:45 +0000
parents 1a94a56a4e5d
children d620f497c50f
line wrap: on
line diff