February 06, 2010 02:20PM
Hello,

In "ngx_slab.c":

[code]
static ngx_uint_t ngx_slab_max_size;
[...]
void ngx_slab_init(ngx_slab_pool_t *pool)
{
if (ngx_slab_max_size == 0) {
[/code]

Could one be sure, that "ngx_slab_max_size" is always "0"?
Maybe better:

[code]
static ngx_uint_t ngx_slab_max_size = 0;
[/code]

Thanks
Marcus
Subject Author Posted

Bug in ngx_slab.c ?

double February 06, 2010 02:20PM

Re: Bug in ngx_slab.c ?

Maxim Dounin February 06, 2010 04:48PM

Re: Bug in ngx_slab.c ?

double February 07, 2010 03:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready