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 : > > ap_hook_translate_name(jk_translate,NU

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'

Re: mod_jk / mod_jk2 : help from specialists welcome

2004-03-04 Thread jean-frederic clere
Henri Gomez wrote: > Justin Erenkrantz wrote: > >> --On Wednesday, March 3, 2004 12:24 PM +0100 Henri Gomez >> <[EMAIL PROTECTED]> wrote: >> >>> To resume you : >>> >>> - remove translate >>> >>> - move translate code to map_storage >>> >>> Did I understand correctly ? >> >> >> >> Yes, I think tha

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 i

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 > $(DESTDIR)$(installbuilddir)/

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) $(installbui

[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: /home/cvs/apache/httpd-2.0/

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 co

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 mak

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 durat

[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: 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 worki

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 new

[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,

Re: Where is the AJP code...

2004-08-16 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 jakarta-tomcat-connectors\ajp\a

Re: proxy compile warnings

2004-08-17 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 whether

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 som

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: [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). RewriteEngine On RewriteCond %{SERVER_PORT} ^8080$ RewriteRule (.*) https://%{SERVER_NAME}%{REQ

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 -r1.

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

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: C89-ify a recent change to h2_io_set.c

2015-08-19 Thread jean-frederic clere
On 08/19/2015 11:57 AM, NormW wrote: G/Evening (Is here) A very small tweak is proposed for: httpd-trunk\modules\http2\h2_io_set.c to keep the C89-ers in their seats. thanks committed. Cheers Jean-Frederic

Re: modules\http2 - H2Engine directive?

2015-08-27 Thread jean-frederic clere
On 08/24/2015 10:06 AM, Stefan Eissing wrote: Ni Norm, yes, I removed it last week If I want on VirtualHost with h2 support and another one without how should I do that? (that is for demo purpose) Cheers Jean-Frederic

Re: HTTP Server Project hackathon/BoF in Budapest?

2015-08-27 Thread jean-frederic clere
On 08/26/2015 05:29 PM, William A Rowe Jr wrote: First question, will many of us be present and available during the day Wednesday ahead of the ApacheCon Core content for a hackathon and BoF, or would it be better for these things to happen on Thursday during/in the evening of Core? I will be t

Re: proposed backport, mod_h2 github release

2015-08-27 Thread jean-frederic clere
Hi. Just to clarify the openssl minimal version to use to have h2 working is 1.0.2c correct? Or did I miss something? Cheers Jean-Frederic

Re: svn commit: r1650655 - in /httpd/httpd/branches/2.4.x: CHANGES STATUS modules/proxy/proxy_util.c

2015-11-16 Thread jean-frederic clere
On 01/09/2015 09:37 PM, jaillet...@apache.org wrote: > Author: jailletc36 > Date: Fri Jan 9 20:37:50 2015 > New Revision: 1650655 > > URL: http://svn.apache.org/r1650655 > Log: > Merge r1644503 from trunk > >* mod_proxy_ajp: Fix handling of the default port (8009) in the > ProxyPass and

Re: svn commit: r1650655 - in /httpd/httpd/branches/2.4.x: CHANGES STATUS modules/proxy/proxy_util.c

2015-11-16 Thread jean-frederic clere
On 11/16/2015 06:04 PM, Jim Jagielski wrote: > Are you logging DEBUG? No, I also though that was the problem and checked it ;-) Cheers Jean-Frederic > >> On Nov 16, 2015, at 11:53 AM, jean-frederic clere wrote: >> >> On 01/09/2015 09:37 PM, jaillet...@apache.org wrote

Re: reverse proxy wishlist

2015-12-08 Thread jean-frederic clere
On 12/03/2015 03:59 PM, Jim Jagielski wrote: > I put out a call on Twitter regarding this, but wanted to > close the loop here as well. > > What would *you* like to see as new features or enhancements > w/ mod_proxy, esp reverse proxy. I was thinking about some > sort of active backend monitoring,

Re: reverse proxy wishlist

2015-12-08 Thread jean-frederic clere
On 12/03/2015 07:39 PM, Houser, Rick wrote: > I would definitely expect to see a substantial improvement if the thread > reservation could be delayed until the response headers are fully received. That is something tricky you need to mix blocking and non-blocking of have a bunch (configurable) th

Weird behaviour with mod_ssl and SSLCryptoDevice

2015-12-14 Thread jean-frederic clere
Hi, I am sure I am doing something wrong, but when using a dummy crypto device to recreate a customer issue I am getting a similar issue in httpd-trunk but I am nearly sure someone would have complained here if that would be the case. Comments Jean-Frederic The stack: +++ (gdb) bt #0 0x7fa

Re: Weird behaviour with mod_ssl and SSLCryptoDevice

2015-12-14 Thread jean-frederic clere
On 12/14/2015 02:12 PM, jean-frederic clere wrote: > Hi, > > I am sure I am doing something wrong, but when using a dummy crypto > device to recreate a customer issue I am getting a similar issue in > httpd-trunk but I am nearly sure someone would have complained here if > that

Re: Weird behaviour with mod_ssl and SSLCryptoDevice

2015-12-14 Thread jean-frederic clere
On 12/14/2015 02:18 PM, Stefan Eissing wrote: > You're certain it's only loaded once? I think the issue is that it is loaded twice :-( Cheers Jean-Frederic > >> Am 14.12.2015 um 14:12 schrieb jean-frederic clere : >> >> > >

Re: Weird behaviour with mod_ssl and SSLCryptoDevice

2016-01-06 Thread jean-frederic clere
On 12/15/2015 03:16 PM, Jan Kaluža wrote: > On 12/15/2015 02:16 PM, Yann Ylavic wrote: >> Hi Jan, >> >> On Tue, Dec 15, 2015 at 12:51 PM, Jan Kaluža wrote: >>> >>> I think I've just fixed that in . I will >>> also propose that for 2.4.x and 2.2.x. >> >> Shouldn't we

Re: Weird behaviour with mod_ssl and SSLCryptoDevice

2016-01-10 Thread jean-frederic clere
On 01/06/2016 01:17 PM, Yann Ylavic wrote: > On Wed, Jan 6, 2016 at 12:28 PM, jean-frederic clere > wrote: >> On 12/15/2015 03:16 PM, Jan Kaluža wrote: >>> On 12/15/2015 02:16 PM, Yann Ylavic wrote: >>>> Hi Jan, >>>> >>>> On Tue, Dec 15,

Re: httpd track in Seville

2016-09-12 Thread jean-frederic clere
On 08/30/2016 03:34 PM, Rich Bowen wrote: > As you know, the CFP for ApacheCon closes in less than 2 weeks. It would > be awesome if we could pull together an httpd track, highlighting that > httpd is still the flagship of the ASF, and is still exciting, relevant, > and alive. The last few ApacheCo

Re: httpd track in Seville

2016-09-12 Thread jean-frederic clere
ince last time I presented the topic (AKA in Vancover in May). Cheers Jean-Frederic > > Cheers, Stefan > >> Am 12.09.2016 um 14:28 schrieb jean-frederic clere >> : >> >> On 08/30/2016 03:34 PM, Rich Bowen wrote: >>> As you know, the CFP for ApacheCon c

Problem trying to log in a directive

2016-11-28 Thread jean-frederic clere
Hi, I have noted it isn't possible to have a directive failing and something in the log once you fail in the second pass of the directive. See attached sources (to build & install bin/apxs -i -a -c mod_test.c ) I can see the debug and warning in the first pass (output to the console) but nothing

Re: AW: Problem trying to log in a directive

2016-11-28 Thread jean-frederic clere
On 11/28/2016 02:46 PM, Plüm, Rüdiger, Vodafone Group wrote: > > >> -Ursprüngliche Nachricht----- >> Von: jean-frederic clere [mailto:jfcl...@gmail.com] >> Gesendet: Montag, 28. November 2016 14:41 >> An: dev@httpd.apache.org >> Betreff: Problem trying to

making mod_proxy_wstunnel to support other protocol via parameters

2016-12-21 Thread jean-frederic clere
Hi, In fact the tunnel allows any upgradable protocol to work with mod_proxy_wstunnel, checking for WebSocket prevents it, does it make sense to allow a list or a single parameter directive to allow other protocol (for example that works with "jboss-remoting" and probably a bunch of others)? Com

Re: making mod_proxy_wstunnel to support other protocol via parameters

2016-12-21 Thread jean-frederic clere
On 12/21/2016 05:40 PM, Eric Covener wrote: > On Wed, Dec 21, 2016 at 11:32 AM, Jacob Champion wrote: >> (I don't know the answer to your question in particular, but I think there >> was also discussion a while ago about a mod_proxy_tcp, which might be >> relevant to the discussion?) > > There is

Re: svn commit: r1781575 - in /httpd/httpd/trunk: build/PrintPath modules/ssl/mod_ssl.c modules/ssl/ssl_engine_config.c modules/ssl/ssl_engine_init.c modules/ssl/ssl_engine_ocsp.c modules/ssl/ssl_priv

2017-02-03 Thread jean-frederic clere
On 02/03/2017 05:30 PM, Yann Ylavic wrote: > On Fri, Feb 3, 2017 at 5:19 PM, wrote: >> Author: jfclere >> Date: Fri Feb 3 16:19:17 2017 >> New Revision: 1781575 >> >> URL: http://svn.apache.org/viewvc?rev=1781575&view=rev >> Log: >> Add Configuration for trusted OCSP responder certificates >> Fi

Re: svn commit: r1781575 - in /httpd/httpd/trunk: build/PrintPath modules/ssl/mod_ssl.c modules/ssl/ssl_engine_config.c modules/ssl/ssl_engine_init.c modules/ssl/ssl_engine_ocsp.c modules/ssl/ssl_priv

2017-02-21 Thread jean-frederic clere
On 02/20/2017 05:47 PM, Yann Ylavic wrote: > On Mon, Feb 20, 2017 at 5:32 PM, Yann Ylavic wrote: >> >> First you want it to be Off by default (i.e. verify the OCSP's >> responder certificate when not configured), right? >> Couldn't that break existing configurations since we currently (until >> 2.

Re: svn commit: r1674661 - in /httpd/httpd/branches/2.4.x: ./ CHANGES STATUS modules/proxy/mod_proxy_wstunnel.c

2017-03-02 Thread jean-frederic clere
On 04/19/2015 08:06 PM, j...@apache.org wrote: > Author: jim > Date: Sun Apr 19 18:06:05 2015 > New Revision: 1674661 > > URL: http://svn.apache.org/r1674661 > Log: > Merge r1674632 from trunk: > > mod_proxy_wstunnel: Bypass the handler while the connection is not > upgraded to WebSocket, so that

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 === --- aaa/mod_a

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

2006-05-11 Thread Jean-frederic Clere
Chris Darroch wrote: Hi -- It looks to me like the memory allocated for ap_scoreboard_image is a little bit over-sized. In r104404 the lb_score elements were added to the scoreboard in the manner of the worker_score array, BTW: lb_scrore has a size of 1024 and proxy_worker_stat 176... I

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

2006-05-15 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

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

2006-05-15 Thread Jean-frederic Clere
Chris Darroch wrote: Jean-frederic Clere wrote: BTW: lb_scrore has a size of 1024 and proxy_worker_stat 176... I am thinking in using this not yet used space. You're referring to ap_proxy_initialize_worker_share() in proxy_util.c, I take it? It seems to be the only user o

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 st

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 fr

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 ba

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

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

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 - Nor

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 be

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).

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() for that

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

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

2006-07-13 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 w

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

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: 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: Lo

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 al

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 b

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
Brian Akins wrote: Ruediger Pluem wrote: > +static apr_status_t ap_slotmem_create(ap_slotmem_t **new, const char *name, apr_size_t item_size, int item_num, apr_pool_t *pool) In my thought of a "slotmem" or "scoreboard" item_num is "max threads * max procs" just like the "normal" scoreboar

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 --- httpd/httpd/branches/httpd-proxy-scoreboard/modules/mem/mod

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 pr

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 configuratio

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: 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=425734&view=rev Log: Add ap_slotmem_attach() to the slotmem_storage_method. Cut mod_sharemem.c in 2 so that its featu

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 va

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

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 a

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: 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 the

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 t

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=426604&view=rev Log: First try to put togother an external health checker for mod_proxy. Just coming back f

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': m

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" f

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=426604&view=rev Log: First try to put togother an external health checker for mod_proxy. Modified: httpd/

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 al

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 al

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-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: http://svn.apache.org/viewvc/httpd/httpd/branches/httpd-proxy-scoreboard/modules/proxy/health_checker_util.c?rev=426604&view=a

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 and not

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 */ proxy_lb_worke

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 persist

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 su

  1   2   3   4   5   >