comparison src/core/ngx_radix_tree.c @ 112:408f195b3482 NGINX_0_3_3

nginx 0.3.3 *) Change: the "bl" and "af" parameters of the "listen" directive was renamed to the "backlog" and "accept_filter". *) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen" directive. *) Change: the "$msec" log parameter does not require now the additional the gettimeofday() system call. *) Feature: the -t switch now tests the "listen" directives. *) Bugfix: if the invalid address was specified in the "listen" directive, then after the -HUP signal nginx left an open socket in the CLOSED state. *) Bugfix: the mime type may be incorrectly set to default value for index file with variable in the name; bug appeared in 0.3.0. *) Feature: the "timer_resolution" directive. *) Feature: the millisecond "$upstream_response_time" log parameter. *) Bugfix: a temporary file with client request body now is removed just after the response header was transferred to a client. *) Bugfix: OpenSSL 0.9.6 compatibility. *) Bugfix: the SSL certificate and key file paths could not be relative. *) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in the ngx_imap_ssl_module. *) Bugfix: the "ssl_protocols" directive allowed to specify the single protocol only.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Oct 2005 00:00:00 +0400
parents 72eb30262aac
children f745bf973510
comparison
equal deleted inserted replaced
111:a175b609c76d 112:408f195b3482
203 } 203 }
204 204
205 for ( ;; ) { 205 for ( ;; ) {
206 if (node->parent->right == node) { 206 if (node->parent->right == node) {
207 node->parent->right = NULL; 207 node->parent->right = NULL;
208
208 } else { 209 } else {
209 node->parent->left = NULL; 210 node->parent->left = NULL;
210 } 211 }
211 212
212 node->right = tree->free; 213 node->right = tree->free;
213 tree->free = node; 214 tree->free = node;
214 215
215 node = node->parent; 216 node = node->parent;
216 217
217 if (node->right 218 if (node->right || node->left) {
218 || node->left 219 break;
219 || node->value != NGX_RADIX_NO_VALUE 220 }
220 || node->parent == NULL) 221
221 { 222 if (node->value != NGX_RADIX_NO_VALUE) {
223 break;
224 }
225
226 if (node->parent == NULL) {
222 break; 227 break;
223 } 228 }
224 } 229 }
225 230
226 return NGX_OK; 231 return NGX_OK;