comparison src/event/ngx_event_openssl.c @ 276:c5c2b2883984 NGINX_0_5_8

nginx 0.5.8 *) Bugfix: a segmentation fault might occur if "client_body_in_file_only on" was used and a request body was small. *) Bugfix: a segmentation fault occurred if "client_body_in_file_only on" and "proxy_pass_request_body off" or "fastcgi_pass_request_body off" directives were used, and nginx switched to a next upstream. *) Bugfix: if the "proxy_buffering off" directive was used and a client connection was non-active, then the connection was closed after send timeout; bug appeared in 0.4.7. *) Bugfix: if the "epoll" method was used and a client closed a connection prematurely, then nginx closed the connection after a send timeout only. *) Bugfix: the "[alert] zero size buf" error when FastCGI server was used. *) Bugfixes in the "limit_zone" directive.
author Igor Sysoev <http://sysoev.ru>
date Fri, 19 Jan 2007 00:00:00 +0300
parents 052a7b1d40e5
children 27d9d1f26b38
comparison
equal deleted inserted replaced
275:1779577cb845 276:c5c2b2883984
1618 1618
1619 temp = temp->left; 1619 temp = temp->left;
1620 1620
1621 } else if (node->key > temp->key) { 1621 } else if (node->key > temp->key) {
1622 1622
1623 if (temp->right == sentinel) { 1623 if (temp->right == sentinel) {
1624 temp->right = node; 1624 temp->right = node;
1625 break; 1625 break;
1626 } 1626 }
1627 1627
1628 temp = temp->right; 1628 temp = temp->right;
1640 temp->left = node; 1640 temp->left = node;
1641 break; 1641 break;
1642 } 1642 }
1643 1643
1644 temp = temp->left; 1644 temp = temp->left;
1645 1645
1646 } else { 1646 } else {
1647 1647
1648 if (temp->right == sentinel) { 1648 if (temp->right == sentinel) {
1649 temp->right = node; 1649 temp->right = node;
1650 break; 1650 break;
1651 } 1651 }
1652 1652
1657 1657
1658 node->parent = temp; 1658 node->parent = temp;
1659 node->left = sentinel; 1659 node->left = sentinel;
1660 node->right = sentinel; 1660 node->right = sentinel;
1661 ngx_rbt_red(node); 1661 ngx_rbt_red(node);
1662 } 1662 }
1663 1663
1664 1664
1665 void 1665 void
1666 ngx_ssl_cleanup_ctx(void *data) 1666 ngx_ssl_cleanup_ctx(void *data)
1667 { 1667 {