# HG changeset patch # User Maxim Dounin # Date 1315085985 -14400 # Node ID 4574b97220fb1145673ac69c10df1581ad0f48f7 # Parent 98ebec9459a17a00c9eaff15ae93d70993442a8f Keepalive: unbreak build without --with-http_ssl_module. diff --git a/ngx_http_upstream_keepalive_module.c b/ngx_http_upstream_keepalive_module.c --- 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; }