Welcome! Log In Create A New Profile

Advanced

Re: Segfault in NGINX - testcase

March 25, 2010 03:30PM
Sry, this is better:

static ngx_inline ngx_rbtree_node_t *
ngx_rbtree_next(ngx_rbtree_t *rbtree, ngx_rbtree_node_t *node)
{
if( node->right != rbtree->sentinel )
{
node = node->right;
while( node->left != rbtree->sentinel )
node = node->left;
}
else
{
ngx_rbtree_node_t *root;
root = rbtree->root;
while( node != root && node == node->parent->right )
node = node->parent;
if( node == root )
return rbtree->sentinel;
node = node->parent;
}
return node;
}
Subject Author Posted

Segfault in NGINX - testcase

double March 19, 2010 04:19PM

Re: Segfault in NGINX - testcase

Maxim Dounin March 19, 2010 09:10PM

Re: Segfault in NGINX - testcase

double March 20, 2010 04:43AM

Re: Segfault in NGINX - testcase

Maxim Dounin March 20, 2010 04:34PM

Re: Segfault in NGINX - testcase

double March 20, 2010 04:48PM

Re: Segfault in NGINX - testcase

double March 25, 2010 02:08PM

Re: Segfault in NGINX - testcase

double March 25, 2010 03:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready