httpd-proxy-scoreboard

2006-08-02 Thread Jean-frederic Clere
Hi, I am trying to get the slotmem persistent (because for the moment it didn't persist even a graceful restart). So I have a question: - Is there a way to have a pool in a module that will only be cleaned up when httpd stops? Anyway I would like to have an option to have the slotmem

Re: httpd-proxy-scoreboard

2006-08-02 Thread Jean-frederic Clere
Mladen Turk wrote: Jean-frederic Clere wrote: Hi, I am trying to get the slotmem persistent (because for the moment it didn't persist even a graceful restart). So I have a question: - Is there a way to have a pool in a module that will only be cleaned up when httpd stops? I suppose

add_member creates 2 workers

2006-08-01 Thread Jean-frederic Clere
Hi, add_member() creates 2 workers when the worker is not already existing (it creates an extra worker if the worker is already existing). That is because of ap_proxy_add_worker_to_balancer(): +++ runtime-id = proxy_lb_workers; /* Increase the total runtime count */

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-30 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 07/28/2006 06:34 PM, [EMAIL PROTECTED] wrote: Added: httpd/httpd/branches/httpd-proxy-scoreboard/modules/proxy/health_checker_util.c URL:

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard:

2006-07-30 Thread Jean-frederic Clere
Jim Jagielski wrote: Jean-frederic Clere wrote: Jim Jagielski wrote: A quick check shows that various worker stats are not shared... doing a reload of the balancer-manager shows the I/O/Elected values flopping all over the place. So they seem in this impl process specific

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard:

2006-07-29 Thread Jean-frederic Clere
Jim Jagielski wrote: A quick check shows that various worker stats are not shared... doing a reload of the balancer-manager shows the I/O/Elected values flopping all over the place. So they seem in this impl process specific and not shared at all. Did nothing special to build modules/mem just

ordering pre_config hooks

2006-07-29 Thread Jean-frederic Clere
Hi, I am trying to order pre_config hooks (using trunk) but that seem not to work. I have tried LAST/FIRST and the name but only the order in the config file seems to help. Any hints? Cheers Jean-Frederic

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard:

2006-07-29 Thread Jean-frederic Clere
Jim Jagielski wrote: A quick check shows that various worker stats are not shared... doing a reload of the balancer-manager shows the I/O/Elected values flopping all over the place. So they seem in this impl process specific and not shared at all. Did nothing special to build modules/mem just

Re: svn commit: r426781 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/mem/sharedmem_util.c support/proxymonitor.c

2006-07-29 Thread Jean-frederic Clere
Jim Jagielski wrote: I'm not sure I'm comfortable with the directory location (proxy) Ok Should it be moved in logs: The pid file is already there. and the names (checker|comarea) being hardcoded... Ok. That means I should not create the slot mem in the pre-config. And creating the

Re: [Vote] product name - for shipping versions

2006-07-29 Thread Jean-frederic Clere
Steffen wrote: I opt for: Apache Web Server No: Tomcat is also an Apache web server (via its DefaultServlet). Cheers Jean-Frederric Apache is more then only based on the HTTP protocol/specification , other official protocols/specifcations are used by Apache , eg. TLS, zlib Steffen

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread jean-frederic clere
Hi, I have committed the code to get comments on some points: - Does it make sense to include from support objects from modules/proxy? - Does the mod_proxy_health_checker is the right way to go? - I mean: one part is storing the worker information to use it in an external process and

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Hi, I have committed the code to get comments on some points: - Does it make sense to include from support objects from modules/proxy? - Does the mod_proxy_health_checker is the right to do? - I mean: one part is storing the worker information to use it in an external process and the other is

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Jim Jagielski wrote: On Jul 28, 2006, at 1:54 PM, jean-frederic clere wrote: Hi, I have committed the code to get comments on some points: - Does it make sense to include from support objects from modules/ proxy? - Does the mod_proxy_health_checker is the right way to go? - I mean: one

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Jim Jagielski wrote: On Jul 28, 2006, at 12:34 PM, [EMAIL PROTECTED] wrote: Author: jfclere Date: Fri Jul 28 09:33:58 2006 New Revision: 426604 URL: http://svn.apache.org/viewvc?rev=426604view=rev Log: First try to put togother an external health checker for mod_proxy. Just coming back

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Jim Jagielski wrote: Many compile warnings when compiling with maint-mode: Fixed. Thanks, Cheers Jean-Frederic mod_proxy.c: In function 'add_pass': mod_proxy.c:1176: warning: implicit declaration of function 'proxy_checkstorage_add_entry' mod_proxy.c: In function 'proxy_post_config':

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Davi Arnaut wrote: Em 28/07/2006, às 13:34, [EMAIL PROTECTED] escreveu: Author: jfclere Date: Fri Jul 28 09:33:58 2006 New Revision: 426604 ... + +static const slotmem_storage_method *checkstorage = NULL; +static ap_slotmem_t *myscore=NULL; Indentation consistency ? myscore=NULL

Re: svn commit: r426604 - in /httpd/httpd/branches/httpd-proxy-scoreboard: modules/proxy/ support/

2006-07-28 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 28.07.2006 18:34, [EMAIL PROTECTED] wrote: Author: jfclere Date: Fri Jul 28 09:33:58 2006 New Revision: 426604 URL: http://svn.apache.org/viewvc?rev=426604view=rev Log: First try to put togother an external health checker for mod_proxy. Modified:

Re: httpd-proxy-scoreboard

2006-07-27 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 07/26/2006 10:53 PM, Jean-frederic Clere wrote: I already have a prototype of an external health checker process that uses an AJP cping/cpong and a simple connect for http/https. Basicaly mod_proxy uses the health_worker_method routine to write and read from

Re: httpd-proxy-scoreboard

2006-07-27 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 07/27/2006 11:31 AM, Jean-frederic Clere wrote: Ruediger Pluem wrote: On 07/26/2006 10:53 PM, Jean-frederic Clere wrote: I already have a prototype of an external health checker process that uses an AJP cping/cpong and a simple connect for http

Re: svn commit: r425734 - in /httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem: config5.m4 mod_plainmem.c mod_scoreboard.c mod_sharedmem.c sharedmem_util.c slotmem.h

2006-07-26 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 26.07.2006 15:42, [EMAIL PROTECTED] wrote: Author: jfclere Date: Wed Jul 26 06:42:43 2006 New Revision: 425734 URL: http://svn.apache.org/viewvc?rev=425734view=rev Log: Add ap_slotmem_attach() to the slotmem_storage_method. Cut mod_sharemem.c in 2 so that its

httpd-proxy-scoreboard

2006-07-26 Thread Jean-frederic Clere
Hi, I have started to write a generic health-checker for mod_proxy. I would like to change the macro PROXY_WORKER_IS_USABLE() to a routine in proxy_util.c. Comments? Another problem I have is to decide the max size of the slot mem for the worker: proxy_lb_workers() only gives the right

Re: httpd-proxy-scoreboard

2006-07-26 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 26.07.2006 18:11, Jean-frederic Clere wrote: Hi, I have started to write a generic health-checker for mod_proxy. I would like to change the macro PROXY_WORKER_IS_USABLE() to a routine in proxy_util.c. Comments? From my current point of view we should keep

Re: Balancer manager: bug and feature request

2006-07-24 Thread Jean-frederic Clere
Andrew Stribblehill wrote: That is, bug and feature request, not bug and feature request. As I reported in http://issues.apache.org/bugzilla/show_bug.cgi?id=39907 I'm finding that with the worker MPM and a pristine httpd 2.2.2 on an i386 Debian platform, changes I make to the configuration

Re: proxy balancer backports for 2.2.3

2006-07-24 Thread Jean-frederic Clere
Jim Jagielski wrote: I don't want the 2.2.3 release to be held up too much, but there are some things being worked on in the proxy balancer code that would be useful to be available in 2.2.3. Mladen and JFC are working on the AJP stuff and as soon as they commit their changes, I'll be adding in

Re: svn commit: r423444 - in /httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem: ./ Makefile.in config5.m4 mod_plainmem.c mod_scoreboard.c mod_sharedmem.c slotmem.h

2006-07-21 Thread Jean-frederic Clere
Brian Akins wrote: Jean-frederic Clere wrote: Do you mean the proxy back-end connections? I am thinking of a more general purpose slotmem not particularly tied to proxy. Maybe have some wrapper functions that create a slotmem based on threads x procs and can be access using r

Re: svn commit: r423444 - in /httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem: ./ Makefile.in config5.m4 mod_plainmem.c mod_scoreboard.c mod_sharedmem.c slotmem.h

2006-07-20 Thread Jean-frederic Clere
Ruediger Pluem wrote: Some comments inline. Regards Many thanks Cheers Jean-Frederic Rüdiger On 19.07.2006 14:18, [EMAIL PROTECTED] wrote: Author: jfclere Date: Wed Jul 19 05:18:10 2006 New Revision: 423444 ---

Re: mod_proxy feature coming up

2006-07-18 Thread Jean-frederic Clere
Jim Jagielski wrote: Pretty soon I'll be committing my balancer set patch to httpd-trunk. This basically allows for member sets within a balancer similar to the 'distance' mod_jk attribute. What it does is allow for more control over which members will be used via m_p_b. The logic is:

Re: mod_proxy feature coming up

2006-07-18 Thread Jean-frederic Clere
Jim Jagielski wrote: Jean-frederic Clere wrote: Jim Jagielski wrote: Pretty soon I'll be committing my balancer set patch to httpd-trunk. This basically allows for member sets within a balancer similar to the 'distance' mod_jk attribute. What it does is allow for more control over

Re: mod_proxy feature coming up

2006-07-18 Thread Jean-frederic Clere
Jim Jagielski wrote: On Jul 18, 2006, at 11:29 AM, Jim Jagielski wrote: Yes, I'd propose waiting to commit that. The sole reason is that the member-set and other previously committed patches will likely be more readily approved for backporting to 2.2.x, whereas the scoreboard changes might

Re: Additing a storage for the shared information of the worker in

2006-07-14 Thread Jean-frederic Clere
Jim Jagielski wrote: Jean-frederic Clere wrote: Using the result of your ideas and the explaintions now I have mod_proxy that uses the scoreboard via a scoreboard provider ;-) Find enclosed the code. Just one comment off the top of my head: this seems to confuse what is the actual

Re: Additing a storage for the shared information of the worker in

2006-07-14 Thread Jean-frederic Clere
Brian Akins wrote: Jim Jagielski wrote: at is the actual scoreboard and what is the proxy's segment of scoreboard space... Eg the ap_scoreboard_* stuff implies that it's Apache's real scoreboard. Like I said, I think this scoreboard stuff should be more generic than just proxy. It could

mem memory providers

2006-07-14 Thread Jean-frederic Clere
Hi, I am starting an thread that could go under ap_proxy_get_worker and proxy_worker_stat in mod_proxy ;-) Because I would like to create a new family of modules under mem (httpd/modules/mem): shared memory provider. The idea is to have modules that provides memory that could used by slots

Re: Additing a storage for the shared information of the worker in

2006-07-13 Thread Jean-frederic Clere
Jim Jagielski wrote: Brian Akins wrote: Jim Jagielski wrote: +1. For example, a memcached based scoreboard would be pretty cool ;) maybe in mod_scoreboard it may use a provider mechanism to actually implement the scoreboard. Maybe have an ap_scoreboard_create_ex where you

Re: Additing a storage for the shared information of the worker in mod_proxy

2006-07-13 Thread Jean-frederic Clere
Brian Akins wrote: Jim Jagielski wrote: If this is data that needs to be accessed from non-proxy modules then yes, I agree. A basic API could look like. By worker, I am thinking about the mpm sense, not the proxy sense. I guess slot may be a better term: /*used for ap_scoreboard_do.

Re: Additing a storage for the shared information of the worker in mod_proxy

2006-07-13 Thread Jean-frederic Clere
Brian Akins wrote: Jean-frederic Clere wrote: With such an interface you assume only one process will access to one slot... That is what the scoreboard allows. Allowing updates from different proccesses on the same slot. Should we have an ap_slot_read_look() and an ap_slot_unlock

Re: Additing a storage for the shared information of the worker in mod_proxy

2006-07-13 Thread Jean-frederic Clere
Brian Akins wrote: Jim Jagielski wrote: Having some external (or even internal) process update a slot that isn't its own is dangerous. And the required locking would be slow. In my own hacked proxy, an external healthchecker and the proxy share a piece of shared memory that is read-only

Re: Additing a storage for the shared information of the worker in mod_proxy

2006-07-13 Thread Jean-frederic Clere
Brian Akins wrote: Jim Jagielski wrote: If this is data that needs to be accessed from non-proxy modules then yes, I agree. A basic API could look like. By worker, I am thinking about the mpm sense, not the proxy sense. I guess slot may be a better term: /*used for ap_scoreboard_do.

ap_proxy_get_worker

2006-07-12 Thread Jean-frederic Clere
Hi, Why does ap_proxy_get_worker() gives the best matched worker? - Shouldn't it give the exact match - Cheers Jean-Frederic

Re: AW: ap_proxy_get_worker

2006-07-12 Thread Jean-frederic Clere
Plüm wrote: -Ursprüngliche Nachricht- Von: Jean-frederic Clere Gesendet: Mittwoch, 12. Juli 2006 14:21 An: dev@httpd.apache.org Betreff: ap_proxy_get_worker Hi, Why does ap_proxy_get_worker() gives the best matched worker? - Shouldn't it give the exact match - Normally

Additing a storage for the shared information of the worker in mod_proxy

2006-07-12 Thread Jean-frederic Clere
Hi, I am still trying to replace the scoreboard by shared memory to store the shared information of the workers, I am now thinking to get this by adding modules like the prototype I have enclosed (that is a patch against trunk). Does this look to be the right way to go? Or has someone a

Re: Additing a storage for the shared information of the worker in mod_proxy

2006-07-12 Thread Jean-frederic Clere
Brian Akins wrote: Jean-frederic Clere wrote: Hi, I am still trying to replace the scoreboard by shared memory to store the shared information of the workers, I am now thinking to get this by adding modules like the prototype I have enclosed (that is a patch against trunk). We really need

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-11 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 07/10/2006 12:21 PM, Jean-frederic Clere wrote: Ruediger Pluem wrote: context could be used. But I am thinking of sharing the balacing information with another program. By changing proxy_worker_stat * to a void * and arranging the corresponding code the first step

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-10 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 09.07.2006 16:37, Jim Jagielski wrote: Ruediger Pluem wrote: So it makes sense from my perspective to add a void pointer *to* the proxy_worker_stat structure to enable balancers to store custom data that is private to them. This already exists. See

proxy_worker_stat in mod_proxy

2006-07-08 Thread Jean-frederic Clere
Hi, I am looking in mod_proxy and I think that proxy_worker_stat of proxy_worker should be replaced by some void * to allow to write new balancers. The idea is each worker needs to point to the view the balancer of its, but only the balancer needs to know the structure it needs to make the

Re: mod_proxy_balancer/mod_proxy_ajp TODO

2006-06-22 Thread Jean-frederic Clere
Henri Gomez wrote: The TomcatoMips indicator was just something to tell that it's not the raw CPU power which is important, but the estimated LOAD capacity of an instance. Accounting informations should included average time to execute a request, number of thread in use (AJP/HTTP), estimated

Re: Compiling a C++ module with g++ on Solaris

2006-06-12 Thread Jean-frederic Clere
Phil Endecott wrote: Dear All, I'm the author of Anyterm (http://anyterm.org/) which uses an Apache module written in C++. This works OK on Linux. However, a user has attempted to compile it on Solaris and it fails at run time. Specifically, the first time that any C++ memory allocation

Re: [PATCH 1/6] scoreboard over-sized

2006-05-16 Thread Jean-frederic Clere
Jim Jagielski wrote: Chris Darroch wrote: Personally, if I was writing a completely private module, I'd probably just patch the scoreboard.h definition of lb_score to include whatever extra stuff I needed, and recompile httpd. That way I'm insulated from any changes to the size of either

modules/aaa/mod_authz_owner.c

2006-01-19 Thread Jean-frederic Clere
Hi, On ReliantUnix the following code can't be compiled: +++ typedef struct { } authz_owner_config_rec; +++ Because the structure is empty. Any problem to apply the following patch: +++ Index: aaa/mod_authz_owner.c === ---

Re: 2.1.5 available for testing

2005-06-23 Thread jean-frederic clere
William A. Rowe, Jr. wrote: ++1 To Joe's comments. Jeff's fix is technically right, but scares the nibbles out of me. If, for example, an exploit is able to inject the T-E on top of the legit C-L, I really suspect we should not trust the origin server at all. For origin servers (as opposed

Re: 2.1.5 available for testing

2005-06-23 Thread jean-frederic clere
Jeff Trawick wrote: On 6/23/05, jean-frederic clere [EMAIL PROTECTED] wrote: William A. Rowe, Jr. wrote: ++1 To Joe's comments. Jeff's fix is technically right, but scares the nibbles out of me. If, for example, an exploit is able to inject the T-E on top of the legit C-L, I really suspect

Re: 2.1.5 available for testing

2005-06-20 Thread jean-frederic clere
William A. Rowe, Jr. wrote: At 03:07 PM 6/17/2005, William A. Rowe, Jr. wrote: -1 on Win32, caddr_t isn't sufficiently portable (fix committed). Correction, -1 on all platforms. jfclere just committed a significant patch to the T-E override of the C-L passed to us, as part of the Watchfire

Re: 2.1.5 available for testing

2005-06-20 Thread jean-frederic clere
jean-frederic clere wrote: William A. Rowe, Jr. wrote: At 03:07 PM 6/17/2005, William A. Rowe, Jr. wrote: -1 on Win32, caddr_t isn't sufficiently portable (fix committed). Correction, -1 on all platforms. jfclere just committed a significant patch to the T-E override of the C-L passed

Re: 2.1.5 available for testing

2005-06-20 Thread jean-frederic clere
William A. Rowe, Jr. wrote: At 08:55 AM 6/20/2005, jean-frederic clere wrote: jean-frederic clere wrote: and GET with content-length. I think that is not forbidden in the rfc... But what about returning HTTP_BAD_REQUEST if Content-Length is not 0? See section 4.3 of RFC 2616. Content

[error] (88)Socket operation on non-socket:

2005-06-17 Thread jean-frederic clere
Hi, On my old Suse (7.2 (i386)) httpd (2.1 head) is not running and in the error_log I have the following: +++ [Fri Jun 17 13:58:50 2005] [error] (88)Socket operation on non-socket: apr_socket_accept: (client socket 0) +++ This only appends when starting http via crontab. Does it make

Re: svn commit: r124080 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c

2005-01-05 Thread jean-frederic clere
Jeff Trawick wrote: On 4 Jan 2005 09:58:09 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jfclere Date: Tue Jan 4 01:58:01 2005 New Revision: 124080 URL: http://svn.apache.org/viewcvs?view=revrev=124080 Log: Add including of util_charset.h otherwise ap_hdrs_from_ascii is not defined.

mod_deflate.c problems

2004-10-08 Thread jean-frederic clere
Hi, I have the following problem with mod_deflate: +++ In file included from /usr/include/zutil.h:16, from mod_deflate.c:50: /usr/include/zlib.h:40: warning: `ZLIB_VERSION' redefined /opt/SMAWPlus/include/zlib.h:40: warning: this is the location of the previous definition In file

Re: PATCH to use apr-iconv

2004-10-05 Thread jean-frederic clere
William A. Rowe, Jr. wrote: At 06:38 PM 10/4/2004, Justin Erenkrantz wrote: I have some issues with the proposed patch in that it moves some configure logic that really belongs in apr-util over to httpd: i.e. configuration of apr-iconv should be done by apr-util not by httpd, httpd should only be

Re: cvs commit: httpd-2.0/os/unix os.h unixd.c

2004-10-04 Thread jean-frederic clere
Jeff Trawick wrote: On 1 Oct 2004 16:03:09 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: jfclere 2004/10/01 09:03:09 Modified:os config.m4 os/unix os.h unixd.c Log: Move the few BS2000 specific in unixd.c Index: unixd.c

PATCH to use apr-iconv

2004-10-04 Thread jean-frederic clere
Hi, I have prepared a patch to use apr-iconv instead GNU or system iconv. Find it enclosed. Any comments? Cheers Jean-Frederic Index: buildconf === RCS file: /home/cvspublic/httpd-2.0/buildconf,v retrieving revision 1.44 diff -u

Re: [PATCH] don't crash with per-dir (location) rewrite config and NULL r-filename

2004-09-10 Thread jean-frederic clere
Jeff Trawick wrote: See attached patch. Given a module with map-to-storage hook which leaves r-filename NULL, and config like the following, you get segfault on platforms that don't like strlen(NULL). Location /silly/foo RewriteEngine On RewriteCond %{SERVER_PORT} ^8080$ RewriteRule (.*)

Re: proxy compile warnings

2004-08-18 Thread jean-frederic clere
Geoffrey Young wrote: William A. Rowe, Jr. wrote: At 04:36 PM 8/17/2004, Joe Orton wrote: On Tue, Aug 17, 2004 at 11:48:39AM -0400, Geoffrey Young wrote: hi all the attached patch is required for me to get mod_proxy to compile with -Werror. Thanks Geoff. The only thing I'm not sure of is

Re: Where is the AJP code...

2004-08-18 Thread jean-frederic clere
William A. Rowe, Jr. wrote: At 01:56 AM 8/17/2004, jean-frederic clere wrote: William A. Rowe, Jr. wrote: At 03:58 PM 8/16/2004, Brad Nicholes wrote: The addition of the proxy_ajp module to the httpd project presents a build problem. The AJP module code exists in httpd/modules/proxy in the httpd

AJP lib files added to httpd-2.0 repos

2004-08-18 Thread jean-frederic clere
Hi, I have added to the httpd-2.0/modules/proxy the following files: ajp.h ajp_header.c ajp_header.h ajp_link.c ajp_msg.c They are also in jakarta-tomcat-connectors/ajp/ajplib/test. They have to be kept up to date (synchronized) please remember to mail the diff to the other repos dev-list when

vacation

2004-08-18 Thread jean-frederic clere
Hi, I'll be on vacation til 7th september. I will (try to) go on the new proxy implementation but I will only read my apache.org mail, so if you find something wrong in the new code (and want a quick fix) mail me there. Cheers Jean-Frederic

Re: Where is the AJP code...

2004-08-17 Thread jean-frederic clere
William A. Rowe, Jr. wrote: At 03:58 PM 8/16/2004, Brad Nicholes wrote: The addition of the proxy_ajp module to the httpd project presents a build problem. The AJP module code exists in httpd/modules/proxy in the httpd project but the AJP lib code still sits in the

Re: proxy CONNECT and recent 2.1-dev proxy enhancements

2004-08-16 Thread jean-frederic clere
Jeff Trawick wrote: probably obvious to those doing the load balancing work, but just in case... url in this case is ip:port, which ap_proxy_get_balancer() doesn't handle simple working testcase in case this helps testing connect and send CONNECT 0.0.0.0:8080\r\n Do we need balancer for CONNECT?

Re: proxy CONNECT and recent 2.1-dev proxy enhancements

2004-08-16 Thread jean-frederic clere
Jeff Trawick wrote: On Mon, 16 Aug 2004 12:16:02 +0200, jean-frederic clere [EMAIL PROTECTED] wrote: Jeff Trawick wrote: probably obvious to those doing the load balancing work, but just in case... url in this case is ip:port, which ap_proxy_get_balancer() doesn't handle simple working testcase

Re: [proxy] New implementation ready for testing

2004-08-16 Thread jean-frederic clere
Pier Fumagalli wrote: On 11 Aug 2004, at 17:14, Mladen Turk wrote: Hi all, We've finished the initial development of extended mod_proxy. Since the development took place at jakata-tomcat-connectors, the source code can be found under ajp/proxy. Here is the list of major features added: 3. Added

[PATCH] proxy_connect.c

2004-08-16 Thread jean-frederic clere
Hi, While arranging the code of the recent 2.1-dev proxy enhancements to get CONNECT working I have noted that CONNECT loops endless when the client closes the connection. Find enclosed a patch than fixes the problem. Cheers Jean-Frederic Index: proxy_connect.c

Re: proxy CONNECT and recent 2.1-dev proxy enhancements

2004-08-16 Thread jean-frederic clere
Jeff Trawick wrote: On Mon, 16 Aug 2004 13:20:41 +0200, jean-frederic clere [EMAIL PROTECTED] wrote: Jeff Trawick wrote: On Mon, 16 Aug 2004 12:16:02 +0200, jean-frederic clere [EMAIL PROTECTED] wrote: Jeff Trawick wrote: probably obvious to those doing the load balancing work, but just in case

Re: [AJP] proxy status

2004-08-13 Thread jean-frederic clere
Guenter Knauf wrote: Hi, That seems rational to me. The reason for proposing [EMAIL PROTECTED] is so that tomcat-dev'ers wouldn't have to swallow the full bandwidth of [EMAIL PROTECTED] (converse of the problem where they asked anyone in [EMAIL PROTECTED] to follow [EMAIL PROTECTED] for the

[PATCH] proxy_ajp.c

2004-08-13 Thread jean-frederic clere
Hi, I have arranged the logic to send the request and the body to Tomcat, now it works for both chunked and not-chunked. What is not yet working is when the Tomcat starts to send data before having all the body and then reads a little more body data. Cheers Jean-Frederic Index: proxy_ajp.c

Re: Invitation to HTTPD commiters in tomcat-dev

2004-07-21 Thread jean-frederic clere
Graham Leggett wrote: Mladen Turk wrote: I don't think that it is necessary for a mod_ajp to be included inside the mod_proxy, although they are sharing some common concepts. I think it's very necessary - sharing those common concepts ultimately makes for doing things in a consistent way. It

Re: libtool (jlibtool)

2004-07-09 Thread jean-frederic clere
Joe Orton wrote: On Wed, Jul 07, 2004 at 09:44:00AM +0200, jean-frederic clere wrote: Joe Orton wrote: On Tue, Jul 06, 2004 at 03:35:30PM +0200, jean-frederic clere wrote: The aim is to ensure that the LIBTOOL variable in the installed config_vars.mk points at the installed copy of the libtool

Re: [PATCH] mod_charset_lite.c

2004-07-09 Thread jean-frederic clere
Jeff Trawick wrote: jean-frederic clere wrote: Hi, When using mod_jk2 and mod_charset_lite mod_charset_lite cores because r-filename is NULL. patch looks reasonable... unfortunately, I lifted some bad style from somewhere (the code around your patch)... I'll fix that up and then commit

Re: libtool (jlibtool)

2004-07-07 Thread jean-frederic clere
Joe Orton wrote: On Tue, Jul 06, 2004 at 03:35:30PM +0200, jean-frederic clere wrote: I am using jlibtool and I have found something weird in httpd: In Makefile.in: +++ cp build/*.mk $(DESTDIR)$(installbuilddir); \ sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir

[PATCH] mod_charset_lite.c

2004-07-07 Thread jean-frederic clere
Hi, When using mod_jk2 and mod_charset_lite mod_charset_lite cores because r-filename is NULL. The easy patch is attached. Cheers Jean-Frederic Index: modules/experimental/mod_charset_lite.c === RCS file:

libtool (jlibtool)

2004-07-06 Thread jean-frederic clere
Hi, I am using jlibtool and I have found something weird in httpd: In Makefile.in: +++ cp build/*.mk $(DESTDIR)$(installbuilddir); \ sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool $(LTFLAGS)#' \ build/config_vars.mk

Re: Has mod_dir changed between 2.0.46 and 2.0.49 ?

2004-04-20 Thread jean-frederic clere
Peter Van Biesen wrote: Hi, I've recently migrated from 2.0.46 to 2.0.49 and I have a strange problem. In 2.0.46, my DirectoryIndex was set to include index.jsp, so if a directory contains a index.jsp, tomcat was contacted to serve this. However, when I do this in 2.0.49 tomcat is contacted even

Re: mod_jk / mod_jk2 : help from specialists welcome

2004-03-03 Thread jean-frederic clere
Henri Gomez wrote: Hi to all, I'm involved in jk/jk2 on tomcat and we wonder on tomcat-dev if we should use translate in MIDDLE or FIRST position (specifying that mod_rewrite to be the first in hooks chain). I see in jk that we're using :

Re: mod_jk / mod_jk2 : help from specialists welcome

2004-03-03 Thread jean-frederic clere
Justin Erenkrantz wrote: --On Wednesday, March 3, 2004 10:16 AM +0100 jean-frederic clere [EMAIL PROTECTED] wrote: MIDDLE helps to fix 21546... But I do not see why ;-( Oh, *now* I understand the context to Henri's question. Here's a suggestion. And, no, I don't think changing

MODULE_MAGIC_NUMBER_MAJOR complain

2003-02-18 Thread jean-frederic clere
Hi, Would there be a way to get ride of the following problem: +++ httpd: module ../../server/apache2/mod_jk2.c is not compatible with this version of Apache (found 20020903, need 20030213). Please contact the vendor for the correct version. +++ In include/ap_mmn.h we have: +++ * 20020612

Re: MODULE_MAGIC_NUMBER_MAJOR complain

2003-02-18 Thread jean-frederic clere
Jeff Trawick wrote: jean-frederic clere wrote: Hi, Would there be a way to get ride of the following problem: +++ httpd: module ../../server/apache2/mod_jk2.c is not compatible with this version of Apache (found 20020903, need 20030213). Please contact the vendor for the correct version

Re: Solaris 8 + gcc 3.2.1 + libtool = fuckup...

2003-01-07 Thread jean-frederic clere
Pier Fumagalli wrote: Again, here goes my little problem :-( I'm trying to compile 2.0.43 on a Solaris 8.0 (latest patches) machine, using gcc-3.2.1 (which I compiled) and the libtool coming in the dist (no, I didn't re-run buildconf), and I have one problem. Let's start by saying that my gcc is

Re: Whopsie on Darwin/Mac OS X 10.2.1... :-(

2002-10-08 Thread jean-frederic clere
Pier Fumagalli wrote: On 7/10/02 21:45, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: At 03:27 PM 10/7/2002, Sander Temme wrote: Your HEAD probably uses the glibtool(ize) installation on your local box, which on 10.2 by default is 1.4.2. The tarball was built using the FreeBSD libtool,

Adding a module to httpd-2.0

2002-09-10 Thread jean-frederic clere
Hi, I am adding mod_jk (from Jakarta Tomcat) to the httpd-2.0 sources in order to build an httpd excutable with mod_jk linked staticly to it. But I have to make a buildconf to integrate the config.m4 in the configure. Is there a better way to get it? Like:

Re: cvs commit: apache-1.3/src/ap ap_strtol.c Makefile.tmpl

2002-06-18 Thread jean-frederic clere
David McCreedy wrote: I agree with this approach. I've confirmed that TPF's strtol function returns an errno of ERANGE. I don't know if OS390's and BS2000's compilers do as well. The strtol() of the BS2000 also returns ERANGE (2). Jim has updated ap_strtol.c with an explicit warning: ...

Re: tarballs are up for testing

2002-06-12 Thread jean-frederic clere
Cliff Woolley wrote: ... in http://httpd.apache.org/dev/dist/ --Cliff I have noted the following on ReliantUnix: +++ Installing configuration files Installing HTML documents Usage: rm [-firR] file ... make[1]: *** [install-htdocs] Error 2 make[1]: Leaving directory

Re: 2.0.37-dev/Solaris-8/sparc-v9

2002-06-06 Thread jean-frederic clere
Jeff Trawick wrote: Pier Fumagalli [EMAIL PROTECTED] writes: I'm about to attempt to build Apache 2.0.37-dev at 64 bits with the Sun C compiler (kindly donated by Sun), on Nagoya (worker MPM). Anything I should be aware of? I'll report back on how the baby flies (if it does)... There is

Re: 2.0.37-dev/Solaris-8/sparc-v9

2002-06-06 Thread jean-frederic clere
Ian Holsman wrote: jean-frederic clere wrote: Jeff Trawick wrote: Pier Fumagalli [EMAIL PROTECTED] writes: I'm about to attempt to build Apache 2.0.37-dev at 64 bits with the Sun C compiler (kindly donated by Sun), on Nagoya (worker MPM). Anything I should be aware of? I'll report

Re: Apache History Project - Call for comments

2002-05-15 Thread jean-frederic clere
Bill Stoddard wrote: Ben Hyde wrote: Thomas Eibner wrote: One volunteer has already come forward to help us gather data and we've compiled some statistics from this mailinglist showing how many posts each person has made since '95: Total Posts on [EMAIL

Re: 404 .var file served as text/plain revisited

2002-03-20 Thread jean-frederic clere
Cliff Woolley wrote: I know this has been brought up before, but what did we decide was the fix for this problem? I have a test install that's almost identical to httpd-std.conf, and yet my 404 .var file gets served as text/plain. HEAD /server-status/ HTTP/1.0 Host: localhost

Re: Latest CVS on Solaris 8 - configure's cache-file problems

2002-03-07 Thread jean-frederic clere
Jeff Trawick wrote: Jim Jagielski [EMAIL PROTECTED] writes: Yep... Looks like it's no problem with 2.52. Anyone have hearburn if I adjust buildcheck.sh to make 2.52 the new requirement? at least a little, but I'm not exactly sure how much :) In the 2.0.30 timeframe a colleage

Re: FYI: worker not running on Solaris 8

2002-02-14 Thread jean-frederic clere
Jeff Trawick wrote: jean-frederic clere [EMAIL PROTECTED] writes: Pier Fumagalli wrote: Pier Fumagalli [EMAIL PROTECTED] wrote: Not even starting up... Once I launch it, the first child dies, and no workers are left to process requests... Now trying with threaded

Re: LibTool not working on OS/X?

2002-02-14 Thread jean-frederic clere
Pier Fumagalli wrote: Pier Fumagalli [EMAIL PROTECTED] wrote: Anyone seen this before? Libtool 1.4.2 doesn't work on OS/X and the modules produced with Apache 2.0 are actually DYLIB(s) and not MH_BUNDLE(s), thus preventing the APR routines to read them... There seems to be a

Re: 2.0.32 has been released.

2002-02-14 Thread jean-frederic clere
Hi, I have done the configure: ./configure --prefix=/export/home/apache20/apache32 \ --enable-mods-shared=all It fails: +++ configure:3147: gcc -c -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/export/home/apache20/httpd-2.0.32/srclib/apr/include

Re: Solaris8 Problem with native compiler

2002-02-13 Thread jean-frederic clere
Jeff Trawick wrote: Jeff Trawick [EMAIL PROTECTED] writes: 2) POD issue with worker MPM: [Tue Feb 12 12:01:46 2002] [notice] SIGUSR1 received. Doing graceful restart [Tue Feb 12 12:01:46 2002] [warn] (128)Network is unreachable: connect to listener This particular

Re: Solaris8 Problem with native compiler

2002-02-06 Thread jean-frederic clere
Jeff Trawick wrote: jean-frederic clere [EMAIL PROTECTED] writes: Hi, I have some problems with the httpd-2.0 (from CVS). Whe compiled with Sun compiler it hangs at startup: +++ $c (some internal library calls omitted) libsocket.so.1`getaddrinfo+0x524(ff31ac0c, 93c08

Solaris8 Problem with native compiler

2002-02-05 Thread jean-frederic clere
Hi, I have some problems with the httpd-2.0 (from CVS). Whe compiled with Sun compiler it hangs at startup: +++ $c libc.so.1`_lwp_sema_wait+8(8d7f0, ff19e000, 0, 8d738, 2501c, 0)

Re: daedalus is running 2.0.31

2002-02-01 Thread jean-frederic clere
Ian Holsman wrote: Greg Ames wrote: ...since Thursday, 31-Jan-2002 19:04:06 PST. Cool. Something hangs now on daedalus! we're running it for our developers internally starting tomorrow. Beside checking out the tag, it has the usual patch to save the input buffers for debugging,

<    1   2   3   4   5   >