Mercurial > hg > ngx_http_upstream_keepalive
changeset 37:4574b97220fb
Keepalive: unbreak build without --with-http_ssl_module.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 04 Sep 2011 01:39:45 +0400 |
parents | 98ebec9459a1 |
children | 7e67b2e897df |
files | ngx_http_upstream_keepalive_module.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ngx_http_upstream_keepalive_module.c +++ b/ngx_http_upstream_keepalive_module.c @@ -363,6 +363,8 @@ ngx_http_upstream_free_keepalive_peer(ng goto invalid; } +#if (NGX_HTTP_SSL) + /* * to cache ssl connections separate pool for peer connection is * required, which is only available with patches @@ -374,6 +376,8 @@ ngx_http_upstream_free_keepalive_peer(ng #endif +#endif + if (ngx_handle_read_event(c->read, 0) != NGX_OK) { goto invalid; }