comparison src/core/ngx_connection.c @ 666:bf8b55a5ac89 NGINX_1_1_17

nginx 1.1.17 *) Security: content of previously freed memory might be sent to a client if backend returned specially crafted response. Thanks to Matthew Daley. *) Bugfix: in the embedded perl module if used from SSI. Thanks to Matthew Daley. *) Bugfix: in the ngx_http_uwsgi_module.
author Igor Sysoev <http://sysoev.ru>
date Thu, 15 Mar 2012 00:00:00 +0400
parents d0f7a625f27c
children ad45b044f1e5
comparison
equal deleted inserted replaced
665:a8821023989f 666:bf8b55a5ac89
512 "setsockopt(SO_KEEPALIVE, %d) %V failed, ignored", 512 "setsockopt(SO_KEEPALIVE, %d) %V failed, ignored",
513 keepalive, &ls[i].addr_text); 513 keepalive, &ls[i].addr_text);
514 } 514 }
515 } 515 }
516 516
517 #if (NGX_HAVE_KEEPALIVE_TUNABLE) 517 #if (NGX_HAVE_KEEPALIVE_TUNABLE)
518 518
519 if (ls[i].keepidle) { 519 if (ls[i].keepidle) {
520 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPIDLE, 520 if (setsockopt(ls[i].fd, IPPROTO_TCP, TCP_KEEPIDLE,
521 (const void *) &ls[i].keepidle, sizeof(int)) 521 (const void *) &ls[i].keepidle, sizeof(int))
522 == -1) 522 == -1)