comparison ngx_http_upstream_keepalive_module.c @ 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 52ca695446d3
children 7e67b2e897df
comparison
equal deleted inserted replaced
36:98ebec9459a1 37:4574b97220fb
361 || (status == NGX_HTTP_OK && u->header_sent && u->length == 0))) 361 || (status == NGX_HTTP_OK && u->header_sent && u->length == 0)))
362 { 362 {
363 goto invalid; 363 goto invalid;
364 } 364 }
365 365
366 #if (NGX_HTTP_SSL)
367
366 /* 368 /*
367 * to cache ssl connections separate pool for peer connection is 369 * to cache ssl connections separate pool for peer connection is
368 * required, which is only available with patches 370 * required, which is only available with patches
369 */ 371 */
370 372
371 if (c->ssl) { 373 if (c->ssl) {
372 goto invalid; 374 goto invalid;
373 } 375 }
376
377 #endif
374 378
375 #endif 379 #endif
376 380
377 if (ngx_handle_read_event(c->read, 0) != NGX_OK) { 381 if (ngx_handle_read_event(c->read, 0) != NGX_OK) {
378 goto invalid; 382 goto invalid;