bugfix: compilation failed when http ssl is not enabled in the nginx build. this regression had appeared in commit 5eb3f8c6f.

This commit is contained in:
Yichun Zhang (agentzh) 2014-10-29 23:06:40 -07:00
Родитель 3c1918df8d
Коммит 20bbbfbe44
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -3350,11 +3350,13 @@ ngx_http_lua_socket_tcp_finalize(ngx_http_request_t *r,
u->peer.free(&u->peer, u->peer.data, 0);
}
#if (NGX_HTTP_SSL)
if (u->ssl_name.data) {
ngx_free(u->ssl_name.data);
u->ssl_name.data = NULL;
u->ssl_name.len = 0;
}
#endif
c = u->peer.connection;
if (c) {