Hi,
        With Session Cache size = 7864432 bytes, here's a log that I'm
seeing :

[12/Dec/2001 13:36:51 05786] [trace] for 7864424 bytes, recommending 65536
indexes
[12/Dec/2001 13:36:51 05786] [trace] shmcb_init_memory choices follow
[12/Dec/2001 13:36:51 05786] [trace] division_mask = 0x7F
[12/Dec/2001 13:36:51 05786] [trace] division_offset = 52
[12/Dec/2001 13:36:51 05786] [trace] division_size = 61440
[12/Dec/2001 13:36:51 05786] [trace] queue_size = 8
[12/Dec/2001 13:36:51 05786] [trace] index_num = 0
[12/Dec/2001 13:36:51 05786] [trace] index_offset = 8
[12/Dec/2001 13:36:51 05786] [trace] index_size = 12
[12/Dec/2001 13:36:51 05786] [trace] cache_data_offset = 8
[12/Dec/2001 13:36:51 05786] [trace] cache_data_size = 61424
[12/Dec/2001 13:36:51 05786] [trace] leaving shmcb_init_memory()


the INDEX_NUM value is 0 !!!!!

is this a bug or a feature ?.. I think the data structures needs another
round of verificiation :

ssl_scache_shmcb.c :

typedef struct {
    ....
    unsigned char index_num;
    ...
} SHMCBHeader;

...
...

static BOOL shmcb_init_memory(server_rec *s, void *shm_mem, unsigned int
shm_mem_size)
{
  ...
  unsigned int temp, loop, granularity;

  ...
  ...
  header->index_num = temp;             // WOAH .. HOW DO WE HANDLE
OVERFLOWS 
 ...
}


Thx
-Madhu
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to