How to force per-location configuration directive presence?

2013-01-07 Thread Dmitry Potapov
Hello, I'm implementing module which intended to translate particular HTTP-requests into TCP-messages to 3rd party server, and I want to force per-location server address and port presence at post_config stage. For example, having config: LoadModule myproxy_module libmyproxymodule.so MyProxyPort

lbmethod and TCP header

2013-01-07 Thread Ruben Campos
Hello everybody, I'm part of a project that involves creating a new loadbalancer method for the proxy module's balancer. Following the round robin example provided with the httpd source code I have registered a proxy_balancer_method that will select which worker is the best. In this method, just

Re: lbmethod and TCP header

2013-01-07 Thread Idel Fuschini
Hi, It's possible have an example of code for pass environment value to mod_rewrite through httpd.conf? Inviato da iPhone

Re: Balancer persist and inherit stuff in trunk

2013-01-07 Thread Rainer Jung
On 06.01.2013 17:48, Jim Jagielski wrote: I had thought that I has responded to that orig email that both below issues where by design but could be adjusted if need be or desired. I have no opinions either way, but to be Used seems more session based and Elected is more long-term

Re: Apache Web Socket Support

2013-01-07 Thread Eric Covener
On Sun, Jan 6, 2013 at 10:20 PM, Welly Madya Putra Tambunan welly.tambu...@petrolink.com wrote: Hi Guys, I'm a new member of this mailing list and interested knowing is there any plan supporting Websocket for Apache ? There has not been a lot of interest on this list. Do you want to proxy

Re: event mpm and mod_status

2013-01-07 Thread Daniel Lescohier
I see that event mpm uses a worker queue that uses a condition variable, and it does a condition variable signal when something is pushed onto it. If all of the cpu cores are doing useful work, the signal is not going to force a context switch out of a thread doing useful work, the thread will

Re: event mpm and mod_status

2013-01-07 Thread Stefan Fritsch
On Monday 07 January 2013, Daniel Lescohier wrote: I see that event mpm uses a worker queue that uses a condition variable, and it does a condition variable signal when something is pushed onto it. If all of the cpu cores are doing useful work, the signal is not going to force a context switch

Re: Balancer persist and inherit stuff in trunk

2013-01-07 Thread Stefan Fritsch
On Sunday 06 January 2013, Jim Jagielski wrote: We could, but it's not my personal pref as RM... After all, ApacheCon will be here before we know it :/ That's probably true ;) FWIW, I see the this dynamic nature of 2.4 as much as a killer feature as the increased performance as related to

Re: thread-safety of time conversion caches in util_time.c and mod_log_config.c

2013-01-07 Thread Stefan Fritsch
On Sunday 06 January 2013, Daniel Lescohier wrote: I'm not sure we should include memory barriers inside the apr_atomic_read32 and apr_atomic_set32 functions, because you don't necessarily need a full memory barrier on each read or set. Instead, perhaps we should add three functions to APR:

Re: Apache Web Socket Support

2013-01-07 Thread Welly Madya Putra Tambunan
Thanks Eric for the response, Do you want to proxy websockets or terminate websockets in Apache? What's the preferable approach ? Should we integrate the module to the Apache Server or proxy the connection to a dedicated websocket server ? This doesn't really make much sense as HTTP uses