cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-11 Thread mturk
mturk 2004/08/11 08:46:54 Modified:ajp/proxy mod_proxy.c Log: Small status displaying fix. Revision ChangesPath 1.36 +1 -1 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ===

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-11 Thread mturk
mturk 2004/08/11 08:32:55 Modified:ajp/proxy mod_proxy.c Log: Added mod_status extension for displaying runtime status informations for load balancer. Revision ChangesPath 1.35 +129 -2jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c =

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-10 Thread mturk
mturk 2004/08/10 11:00:17 Modified:ajp/proxy mod_proxy.c Log: Make sure that if the pre_request was called that the post_request gets called too, no mather what the error code is. Revision ChangesPath 1.34 +8 -5 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c proxy_balancer.c proxy_util.c mod_proxy.h

2004-08-10 Thread mturk
mturk 2004/08/10 07:58:24 Modified:ajp/proxy mod_proxy.c proxy_balancer.c proxy_util.c mod_proxy.h Log: Implement the worker retry functionality. It uses either worker->retry option or default 60 second retry that is on each revolution extended by anothe

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-10 Thread mturk
mturk 2004/08/10 06:49:11 Modified:ajp/proxy mod_proxy.c Log: Use the pool for add_worker call. Revision ChangesPath 1.32 +1 -1 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-09 Thread mturk
mturk 2004/08/09 08:10:02 Modified:ajp/proxy mod_proxy.c Log: Add pool to functions for setting worker and balancer parameters. Still have no idea why that doesn't work without duping as JeanFrederic reported. Revision ChangesPath 1.31 +18 -7 jakarta-tomcat-c

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-09 Thread mturk
mturk 2004/08/09 01:04:55 Modified:ajp/proxy mod_proxy.c Log: Fix some config checking params. Revision ChangesPath 1.30 +9 -9 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ===

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-06 Thread mturk
mturk 2004/08/06 04:42:40 Modified:ajp/proxy mod_proxy.c Log: Change the scheme handler hook to include worker. Revision ChangesPath 1.29 +10 -9 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c mod_proxy.h

2004-08-05 Thread mturk
mturk 2004/08/05 10:46:59 Modified:ajp/proxy mod_proxy.c mod_proxy.h Log: Added KeepAlive worker option. The scheme handler will override this setting if required, depending on the protocol itself and keepalive_set flag. Revision ChangesPath 1.28 +9 -0 jak

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c mod_proxy.h

2004-08-05 Thread mturk
mturk 2004/08/05 09:55:34 Modified:ajp/proxy mod_proxy.c mod_proxy.h Log: Added iobuffersize and receivebuffersize to be worker specific. As for timeout their default value is from proxy_conf. Revision ChangesPath 1.27 +36 -14jakarta-tomcat-connectors/ajp/pro

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-05 Thread mturk
mturk 2004/08/05 09:27:07 Modified:ajp/proxy mod_proxy.c Log: Use timeout_set for worker inherited from ProxyTimeout but overridable using timout=xxx Revision ChangesPath 1.26 +9 -2 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c proxy_util.c mod_proxy.h

2004-08-05 Thread mturk
mturk 2004/08/05 07:41:10 Modified:ajp/proxy mod_proxy.c proxy_util.c mod_proxy.h Log: Added acquire timeout for obtaining resources from reslist. The timeout is in milliseconds to enable quick return in case the reslist is exceded the maximum number of connections. Revisi

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c mod_proxy.h

2004-08-04 Thread mturk
mturk 2004/08/04 11:39:27 Modified:ajp/proxy mod_proxy.c mod_proxy.h Log: Add worker timeout inherited from ProxyTimeout. Revision ChangesPath 1.22 +4 -0 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread Mladen Turk
Graham Leggett wrote: > > > >BalancerMember http://host1:port [balancer params] > >etc ... > > > > I just looked at the manual for - it defines config > that is common to a particular part of the URL space (it > seems to refer to the backend URL space). > Yes, I saw that too and l

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread Mladen Turk
I'm experiencing cca 2 hour mail delay on minotaur. Can you cc: to [EMAIL PROTECTED],hr jean-frederic clere wrote: > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 04, 2004 3:20 PM > To: Tomcat Developers List > Subject: Re: cvs commit: jakarta-tomcat-connectors/ajp/pro

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jfclere
jfclere 2004/08/04 09:07:03 Modified:ajp/proxy mod_proxy.c Log: DON'T remove it. It doesn't work without it!!! Revision ChangesPath 1.21 +2 -2 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c =

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread Graham Leggett
Mladen Turk wrote: IMO we could perhaps use exiting Proxy: BalancerMember ajp://host1:port [balancer params] etc... Or.. BalancerMember http://host1:port [balancer params] etc ... I just looked at the manual for - it defines config that is common to a particular part of the URL sp

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jfclere
jfclere 2004/08/04 07:48:13 Modified:ajp/proxy mod_proxy.c Log: Add a trace. Revision ChangesPath 1.20 +4 -1 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c === RCS file:

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread mturk
mturk 2004/08/04 07:37:48 Modified:ajp/proxy mod_proxy.c Log: Remove unusable code from. The constructor and destructor will be in proxy_util. Revision ChangesPath 1.19 +2 -14 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c =

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jean-frederic clere
Mladen Turk wrote: [EMAIL PROTECTED] commited: new = apr_array_push(conf->aliases); -new->fake = f; -new->real = r; +new->fake = apr_pstrdup(cmd->pool, f); +new->real = apr_pstrdup(cmd->pool, r); There is no need to do that. The f is eventually set to cmd->p

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread mturk
mturk 2004/08/04 05:34:41 Modified:ajp/proxy mod_proxy.c Log: Use pre_pequest function and set proxy_module_conf bound to client connection so it cen be obtained inside scheme handlers. Revision ChangesPath 1.18 +45 -7 jakarta-tomcat-connectors/ajp/proxy/mod_

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread Mladen Turk
[EMAIL PROTECTED] commited: > >new = apr_array_push(conf->aliases); > -new->fake = f; > -new->real = r; > +new->fake = apr_pstrdup(cmd->pool, f); > +new->real = apr_pstrdup(cmd->pool, r); > > There is no need to do that. The f is eventually set to cmd

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jfclere
jfclere 2004/08/04 03:43:15 Modified:ajp/proxy mod_proxy.c Log: dup real and fake. Revision ChangesPath 1.17 +2 -2 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c === RCS

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread mturk
mturk 2004/08/04 01:56:54 Modified:ajp/proxy mod_proxy.c Log: Implement pre and post request hooks. Revision ChangesPath 1.16 +28 -1 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread Mladen Turk
jean-frederic clere wrote: > > Be carefull with our os: > +++ > #if (APR_MAJOR_VERSION < 1)^M > #undef apr_socket_create > #define apr_socket_create apr_socket_create_ex^M #endif^M > +++ > > It does not run on my OS(s): And I thought that I'm the 'style police' ;-). MT. smime.p7s Descript

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread jean-frederic clere
Hi, Be carefull with our os: +++ #if (APR_MAJOR_VERSION < 1)^M #undef apr_socket_create #define apr_socket_create apr_socket_create_ex^M #endif^M +++ It does not run on my OS(s): +++ [EMAIL PROTECTED]:~/apache20 > bin/apachectl start httpd: Syntax error on line 287 of /home/apache20/apache20/conf/h

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-04 Thread mturk
mturk 2004/08/03 23:55:12 Modified:ajp/proxy mod_proxy.c Log: Remove all worker/balancer API's to proxy_util. Revision ChangesPath 1.15 +0 -205jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c mod_proxy.h

2004-08-03 Thread mturk
mturk 2004/08/03 23:51:00 Modified:ajp/proxy mod_proxy.c mod_proxy.h Log: Added API for creating balancers. Added property setter for balancers. Revision ChangesPath 1.14 +88 -17jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 14:54:07 Modified:ajp/proxy mod_proxy.c Log: Use RAW_ARGS instead ITERATE. Add options for connection pool when using ProxyPass Revision ChangesPath 1.13 +67 -23jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ===

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 13:53:38 Modified:ajp/proxy mod_proxy.c Log: Move worker params parsing to a separate function. The same will be used for creating ProxyPass connection pools. Revision ChangesPath 1.12 +49 -11jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 13:29:07 Modified:ajp/proxy mod_proxy.c Log: Added init_conn_pool to worker. Connection pool will either use reslist (if thread number > 1) or single connection. Revision ChangesPath 1.11 +36 -0 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 12:56:18 Modified:ajp/proxy mod_proxy.c Log: Obtain balancer using API. Revision ChangesPath 1.10 +2 -9 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c =

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c mod_proxy.h

2004-08-03 Thread mturk
mturk 2004/08/03 12:49:04 Modified:ajp/proxy mod_proxy.c mod_proxy.h Log: Use API instead directly obtaining worker and balancer. Change ProxyStickySession to BalancerStickySession Revision ChangesPath 1.9 +145 -53 jakarta-tomcat-connectors/ajp/proxy/mod_proxy

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 10:41:00 Modified:ajp/proxy mod_proxy.c Log: Add ProxyStickySession directive. Revision ChangesPath 1.8 +43 -0 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 10:18:47 Modified:ajp/proxy mod_proxy.c Log: Add BalanceMember directive. Revision ChangesPath 1.7 +126 -1jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ===

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 09:03:03 Modified:ajp/proxy mod_proxy.c Log: Add workers and balancers to create and merge config. Revision ChangesPath 1.6 +4 -0 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 08:02:22 Modified:ajp/proxy mod_proxy.c Log: Revert changes to ProxyRemote. We'll use onother mehcanism for those Revision ChangesPath 1.5 +0 -22 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c =

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread Mladen Turk
Graham Leggett wrote: > > I have been mulling this over in my head for a bit. What do > you think of defining a group of load balancing servers that > serve requests, such as: > > >BalancerMember host1:port [balancer params] >BalancerMember host2:port [balancer params] > IMO we co

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread Graham Leggett
Mladen Turk wrote: Here is what I meant: ProxyPass /url balancer:number//[stickysessionname | none]/[nofailover] ProxyRemote balancer:number ://host-1(lbfactor) ProxyRemote balancer:number ://host-2(lbfactor) ... ProxyRemote balancer:number ://host-n(lbfactor) And (eventually) ... ProxyPassReverse

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread Mladen Turk
Graham Leggett wrote: > > [EMAIL PROTECTED] wrote: > > > Allow parsing lbfactor for ProxyPassReverse in the form > > ProxyPassReverse scheme://uri/path(lbfactor). > > The lbfactor is number 1...100 inside braces. > > Just a quick note - ProxyPassReverse is for dealing with the > conver

RE: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread Mladen Turk
Graham Leggett wrote: > > Just a quick note - ProxyPassReverse is for dealing with the > conversion of Location headers from the backend to the frontend. > > A load balancing module should be using it's own directive > for this, not ProxyPassReverse. > Sure, but it's IMO the proper place fo

Re: cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread Graham Leggett
[EMAIL PROTECTED] wrote: Allow parsing lbfactor for ProxyPassReverse in the form ProxyPassReverse scheme://uri/path(lbfactor). The lbfactor is number 1...100 inside braces. Just a quick note - ProxyPassReverse is for dealing with the conversion of Location headers from the backend to the fro

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 06:19:39 Modified:ajp/proxy mod_proxy.c Log: Allow parsing lbfactor for ProxyPassReverse in the form ProxyPassReverse scheme://uri/path(lbfactor). The lbfactor is number 1...100 inside braces. Revision ChangesPath 1.4 +22 -0 jakarta-tomcat

cvs commit: jakarta-tomcat-connectors/ajp/proxy mod_proxy.c

2004-08-03 Thread mturk
mturk 2004/08/03 05:10:56 Modified:ajp/proxy mod_proxy.c Log: Remove forward declaration for module. It is not needed, and it is not in the 2.1-HEAD. Revision ChangesPath 1.3 +0 -2 jakarta-tomcat-connectors/ajp/proxy/mod_proxy.c Index: mod_proxy.c ==