mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since this is shared memory child will see it as used. On unixes fork is used so the inuse is set only

Re: [VOTE] Bundle apr/apu with 2.4.x

2012-02-03 Thread Mario Brandt
 [x] +1: Bundle apr/apu w/ Apache httpd 2.4.x  [ ] +0: I don't care  [ ] -1: Do not bundle apr/apu with Apache httpd 2.4.x

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Jim Jagielski
On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since this is shared memory child will see it as

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Jim Jagielski
Under Win32, do the 2 processes know which is which? On Feb 3, 2012, at 5:46 AM, Jim Jagielski wrote: On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
On 02/03/2012 11:46 AM, Jim Jagielski wrote: On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since

Re: [VOTE] Bundle apr/apu with 2.4.x

2012-02-03 Thread Graham Leggett
On 02 Feb 2012, at 8:20 PM, Jim Jagielski wrote: [ ] +1: Bundle apr/apu w/ Apache httpd 2.4.x [ ] +0: I don't care [X] -1: Do not bundle apr/apu with Apache httpd 2.4.x To be most specific, do what we're doing now. (ie separate -deps). Doing what we're doing now would be: [X] +1:

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Jim Jagielski
On Feb 3, 2012, at 8:03 AM, Mladen Turk wrote: Right, seems that's not the reason for PR52402. Found the fix for it. The reason is the loop: while (s) { int i,j; proxy_balancer *balancer; sconf = s-module_config; conf = (proxy_server_conf

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Mladen Turk
On 02/03/2012 02:45 PM, Jim Jagielski wrote: On Feb 3, 2012, at 8:03 AM, Mladen Turk wrote: Right, seems that's not the reason for PR52402. Found the fix for it. The reason is the loop: while (s) { int i,j; proxy_balancer *balancer; sconf = s-module_config;

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread Jim Jagielski
On Fri, Feb 03, 2012 at 03:06:03PM +0100, Mladen Turk wrote: Well actually I think that there could be multiple server_rec for which ap_get_module_config(s-module_config,proxy_module) will return the same proxy_server_conf. My patch will handle those cases (the PR52402 itself) Think I'll

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Mladen Turk
On 01/03/2012 09:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. Is the issue still present and what the issue actually is. I have watchdog/hearmonitor/heartbeat working on windows using the current svn

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread William A. Rowe Jr.
On 1/3/2012 2:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. I can tell someone what each do (as far as I have seen). There are, minimal docvs on all but watchdog (which is required for a couple)

Re: mod_slotmem and mod_proxy_balancer/others on win32 (PR52402)

2012-02-03 Thread William A. Rowe Jr.
On 2/3/2012 4:46 AM, Jim Jagielski wrote: On Feb 3, 2012, at 4:25 AM, Mladen Turk wrote: Hi, mod_slotmem cannot work on windows by design. On windows we have two processes so the storage-grab/slotmem_grab will always fail because the inuse flag was already set in the parent, and since

Re: Segfault in openssl's err_cmp when using SSLCryptoDevice and new SSLProxyMachineCertificateChainFile

2012-02-03 Thread Daniel Ruggeri
On 2/2/2012 1:02 PM, Daniel Ruggeri wrote: Since this happens with every attempt to start, I suspect it has nothing to do with the new directive and more to do with something I did on the openssl build. I was, indeed, doing something stupid. A build with openssl 1.0.0g replicates the behavior

Re: Segfault in openssl's err_cmp when using SSLCryptoDevice and new SSLProxyMachineCertificateChainFile

2012-02-03 Thread Dr Stephen Henson
On 03/02/2012 17:45, Daniel Ruggeri wrote: On 2/2/2012 1:02 PM, Daniel Ruggeri wrote: Since this happens with every attempt to start, I suspect it has nothing to do with the new directive and more to do with something I did on the openssl build. I was, indeed, doing something stupid. A

Re: [PATCH] trunk/2.4 core output filter is broken

2012-02-03 Thread Stefan Fritsch
insert_network_bucket hook */ #define MODULE_MAGIC_COOKIE 0x41503235UL /* AP25 */ #ifndef MODULE_MAGIC_NUMBER_MAJOR -#define MODULE_MAGIC_NUMBER_MAJOR 20120201 +#define MODULE_MAGIC_NUMBER_MAJOR 20120203 #endif #define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */ diff --git a/include

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Gregg Smith
Mladen, It is fixed, r1210449 did the trick. Once that extra Win32 pid check was removed, the watchdog takes steps, heatbeat beats heartmonitor monitors. I thought I confirmed this back then, sorry if I didn't. Regards, Gregg On 2/3/2012 6:45 AM, Mladen Turk wrote: On 01/03/2012 09:22

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Gregg Smith
On 2/3/2012 9:35 AM, William A. Rowe Jr. wrote: On 1/3/2012 2:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. I can tell someone what each do (as far as I have seen). There are, minimal docvs on all but

Re: [PATCH] trunk/2.4 core output filter is broken

2012-02-03 Thread Stefan Fritsch
On Thursday 02 February 2012, Joe Orton wrote: The combination of APR_SUCCESS and DECLINED is unusual; an int return value with OK/DECLINED? Input and output filters should return an apr_status_t. So, if the hook does not return an apr_status_t, core_input_filter() would have to invent some

mod_proxy_fcgi and EAGAIN (hacking)

2012-02-03 Thread Jim Riggs
Here is what I am testing: I am using (currently one) mod_proxy_fcgi member in a balancer to php-fpm. I have already run into some issues with fcgi:// as a balancer member as described in

Re: Segfault in openssl's err_cmp when using SSLCryptoDevice and new SSLProxyMachineCertificateChainFile

2012-02-03 Thread Sander Temme
Remember the CHIL engine cleanup was fixed to prevent a dangling cleanup function pointer... I forget which OpenSSL version got that fix but in any case RH only recently backported it. I'm sure I didn't test with any proxy config at the time. S. -- Sander Temme san...@temme.net Sent from

Re: [VOTE] Bundle apr/apu with 2.4.x

2012-02-03 Thread Stefan Fritsch
On Thursday 02 February 2012, Jim Jagielski wrote: [ ] +1: Bundle apr/apu w/ Apache httpd 2.4.x [ ] +0: I don't care [X] -1: Do not bundle apr/apu with Apache httpd 2.4.x Provided that the --with-included-apr mechanism stays and the docs say download apr-x.y.tar.gz and extract to

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Rainer Jung
On 03.02.2012 19:51, Gregg Smith wrote: On 2/3/2012 9:35 AM, William A. Rowe Jr. wrote: On 1/3/2012 2:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. I can tell someone what each do (as far as I have

Re: Segfault in openssl's err_cmp when using SSLCryptoDevice and new SSLProxyMachineCertificateChainFile

2012-02-03 Thread Daniel Ruggeri
On 2/3/2012 12:27 PM, Dr Stephen Henson wrote: Hmm... the ENGINE code is careful not to shutdown an ENGINE if keys exist which make use of it. So there is a possibility that the some chain verification leaves a reference to an RSA key which prevents the ENGINE from closing down

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread William A. Rowe Jr.
On 2/3/2012 12:51 PM, Gregg Smith wrote: On 2/3/2012 9:35 AM, William A. Rowe Jr. wrote: On 1/3/2012 2:22 AM, Gregg L. Smith wrote: Since I have been the most vocal about this watchdog/hearmonitor/heartbeats on windows ... I should chime in. I can tell someone what each do (as far as I have

Re: remove mod_heart* from 2.4?(was: 2.4.0 GA This week?)

2012-02-03 Thread Mladen Turk
On 02/04/2012 12:27 AM, William A. Rowe Jr. wrote: On 2/3/2012 12:51 PM, Gregg Smith wrote: a way of monitoring a cluster of servers and opening another way of balancing the load (lb_meathod_byheartbeat). This is what I see when I look at the bundle. With what external mechanisms that exist

Re: [PATCH] trunk/2.4 core output filter is broken

2012-02-03 Thread Gregg Smith
On 2/3/2012 10:43 AM, Stefan Fritsch wrote: On Thursday 02 February 2012, William A. Rowe Jr. wrote: On 2/2/2012 8:36 AM, Jim Jagielski wrote: bb == NULL ?? Looking at his attached screen scrape; no. Which leaves with something like e == NULL or a broken bb. The former :-( Gregg, please

Re: OpenSSL configuration and mod_ssl

2012-02-03 Thread Kaspar Brand
On 02.02.2012 15:13, Dr Stephen Henson wrote: So perhaps: int SSL_CTX_set_config_string(SSL_CTX *ctx, const char *name, const char *value); Where the values of name can expand over time. I'm more in favor of this one - i.e., allow configuration through