Re: Logging POST body ...

2008-01-13 Thread Michael Vergoz
hi, have a look : http://mail-archives.apache.org/mod_mbox/httpd-dev/200602.mbox/[EMAIL PROTECTED] regards, Michael Vergoz Ruediger Pluem a écrit : On 01/13/2008 10:17 AM, Kiffin Gish wrote: Hi there. I'm using ap_hook_translate_name(hook_translate_name, NULL,

Re: child_init hook...

2006-10-20 Thread Michael Vergoz
Hi,> displacing the hook before "unixd_setup_child" ? but what is the impact of > this ?Immediately i think that's dengeurous.You are facing to a real problem because, if i well understood, you would like to refresh configurations and you can't read these files because the chroot...I think, f

Fw: merging server config bug ?

2006-03-24 Thread Michael Vergoz
From: "Michael Vergoz" <[EMAIL PROTECTED]> To: Sent: Friday, March 24, 2006 2:38 PM Subject: merging server config bug ? Hi I must embark a pointer (different) in each server_rec to allow to differentiate the server env. I thus use the callback create_server_config which

Re: Accessing POST request body from a module

2006-02-04 Thread Michael VERGOZ
Hi Phil, At the request_handler time you may create the brigade with something like this : brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); - Original Message - From: "Phil Endecott" <[EMAIL PROTECTED]> To: Sent: Friday, February 03, 2006 9:26 PM Subject: Re: Ac

Re: Accessing POST request body from a module

2006-02-02 Thread Michael VERGOZ
Hello, With something like that : while (ap_get_brigade(r->input_filters, brigade, AP_MODE_READBYTES, APR_BLOCK_READ, len) == APR_SUCCESS) { apr_brigade_flatten(brigade, buf, &len); apr_brigade_cleanup(brigade); tlen += len; if (tlen == count_bytes || !len) { break; } b

Re: Shared memory on Win (Was: ldap crash on exit)

2005-11-16 Thread Michael Vergoz
hi, you can't specify a base address on Apache because portability and compatibilty with different other softs. And that way will not fix this problem. you can load and manage a shared map in Apache but you can't expand it. That problem is due in part to the Apache MPM prefork/worker engine

Re: Problems in apr_rmm.c

2005-08-02 Thread Michael Vergoz
on > Windows worries me that other platforms are a house of cards in this > area as well... Yes it's best way atm. Regards, Michael Vergoz > > -- > Jess Holle > > Fenlason, Josh wrote: > > Has anyone seen any problems in apr_rmm.c on systems with shared > > m

Re: A question about global variable in apache module

2005-07-31 Thread Michael Vergoz
l your child processes, your best > bet is probably to use shared memory. > > See mod_example_ipc for ideas: > > http://www.temme.net/sander/mod_example_ipc/ > > I'd also like to attract your attention to the apache-modules > mailinglist. You can subscribe to it by sen

Re: Questions from a newbie

2005-07-03 Thread Michael Vergoz
binding by the way > since all received mails do not necessarily have to be delivered. You should ask mod_smtpd devels for more informations. > > - Jem Berkes -- Michael Vergoz BinarySEC - R&D. http://www.binarysec.com/

shm design features

2005-07-01 Thread Michael Vergoz
t exist - Remap/reallocation possibility. - Auto padding (mem/file) when reallocating. - Kernel lock/unlock. COMMING SOON : - File auto sync. (threaded) -- Michael Vergoz BinarySEC - R&D.

mmap / shm new design & implementation ready.

2005-07-01 Thread Michael Vergoz
Hello, My mmap / shm design & implementation is ready ! Checkout http://www.badcode.be/~descript/.apache/couple/ This code is usable. Feedback to me errors/hints. PS: i need feedback on beos, aix, solaris, netware, xbsd (execpt darwin). Regards, Michael Vergoz

Re: apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
Le Jeudi 30 Juin 2005 00:42, Bruce Korb a écrit : > Michael Vergoz wrote: > > Bruce, > > > > > > ret = size; // ret = 0x2001 > > if((ret%_apr_mem_page_size) != 0) { // 0x0001 > > ret -= (ret%_apr_mem_page_si

Re: apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
in 2005 00:42, Bruce Korb a écrit : > Michael Vergoz wrote: > > Bruce, > > > > > > ret = size; // ret = 0x2001 > > if((ret%_apr_mem_page_size) != 0) { // 0x0001 > > ret -= (ret%_apr_mem_page_size); // ret -= 0x0001 =

Re: apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
uffer, buffer_size); strlen(Map->base) = 0x2000 Regards, Michael Vergoz Le Jeudi 30 Juin 2005 00:41, Bruce Korb a écrit : > Michael Vergoz wrote: > > Hi Bruce, > > > > Yes > > Thank you! > > > because you must align the page to the biggest you can. > &g

Re: apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
you try to sync a file into memory (file to memory) apr_mem_map() will also do a "pager" auto update... Thanks, Michael Le Jeudi 30 Juin 2005 00:23, Michael Vergoz a écrit : > Hi Bruce, > > Yes because you must align the page to the biggest you can. > Have a look at : ht

Re: apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
t a NUL > byte after the last valid character. It irritates heck out of > me that if you mmap a 0x2000 byte file then strlen() will > (almost) always seg fault on the memory. Force an extra anonymous > page in such circumstances. :-) Thanks - Bruce > > Michael Vergoz wrote:

apr mmap/ & shm/ problem.

2005-06-29 Thread Michael Vergoz
) and Darwin, see source for more informations. Sorry for my pr english. Michael Vergoz