comparison src/event/ngx_event_openssl.h @ 5537:49b1ad48b55c

SSL: fixed $ssl_session_id possible segfault after 97e3769637a7. Even during execution of a request it is possible that there will be no session available, notably in case of renegotiation. As a result logging of $ssl_session_id in some cases caused NULL pointer dereference after revision 97e3769637a7 (1.5.9). The check added returns an empty string if there is no session available.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 23 Jan 2014 18:32:26 +0400
parents a297b7ad6f94
children 7c05f6590753
comparison
equal deleted inserted replaced
5536:2a81949cbd7c 5537:49b1ad48b55c