comparison src/event/ngx_event_openssl.c @ 332:3a91bfeffaba NGINX_0_6_10

nginx 0.6.10 *) Feature: the "open_file_cache", "open_file_cache_retest", and "open_file_cache_errors" directives. *) Bugfix: socket leak; bug appeared in 0.6.7. *) Bugfix: a charset set by the "charset" directive was not appended to the "Content-Type" header set by $r->send_http_header(). *) Bugfix: a segmentation fault might occur in worker process if /dev/poll method was used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 03 Sep 2007 00:00:00 +0400
parents 5e3b425174f6
children b743d290eb3b
comparison
equal deleted inserted replaced
331:b69d5e83bf82 332:3a91bfeffaba
1599 if (sess_id == &cache->session_cache_head) { 1599 if (sess_id == &cache->session_cache_head) {
1600 return; 1600 return;
1601 } 1601 }
1602 1602
1603 if (n++ != 0 && sess_id->expire > tp->sec) { 1603 if (n++ != 0 && sess_id->expire > tp->sec) {
1604 break; 1604 return;
1605 } 1605 }
1606 1606
1607 sess_id->next->prev = sess_id->prev; 1607 sess_id->next->prev = sess_id->prev;
1608 sess_id->prev->next = sess_id->next; 1608 sess_id->prev->next = sess_id->next;
1609 1609