Re: Help: How to call function on Apache quitA

2007-11-15 Thread Nick Kew
On Thu, 15 Nov 2007 00:15:17 -0800 (PST) Erik Lotspeich [EMAIL PROTECTED] wrote: The basic question is: how to execute code when Apache quits. Register a cleanup function on the process pool. -- Nick Kew Application Development with Apache - the Apache Modules Book

Re: Apache 2.0 module skeleton

2007-11-15 Thread Joe Lewis
Graf László wrote: Hi all, Can somebody give a project skeleton for Apache 2.0 module? The tool is apxs. Google it for more information. You might even find a link that looks like : http://archive.apache.org/dist/perl/win32-bin/ where you can download the apxs tool. DISCLAIMER : I have

Re: Apache 2.0 module skeleton

2007-11-15 Thread Graf László
Thank you Lewis. Joe Lewis írta: Graf László wrote: Hi all, Can somebody give a project skeleton for Apache 2.0 module? The tool is apxs. Google it for more information. You might even find a link that looks like : http://archive.apache.org/dist/perl/win32-bin/ where you can

httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Plüm , Rüdiger , VF-Group
-if (APR_BRIGADE_SENTINEL(ctx-bb)) { +if (APR_BRIGADE_EMPTY(ctx-bb)) { +*len = 0; +return APR_EOF; +} + +if (APR_BUCKET_IS_EOS(APR_BRIGADE_FIRST(ctx-bb)) || +AP_BUCKET_IS_EOR(APR_BRIGADE_FIRST(ctx-bb))) { *len = 0; return APR_EOF; Why do

Re: keepalive connections and exiting MPM processes

2007-11-15 Thread Jeff Trawick
On Nov 13, 2007 10:38 AM, Jeff Trawick [EMAIL PROTECTED] wrote: On Nov 13, 2007 8:57 AM, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Dienstag, 13. November 2007 14:31 An: dev@httpd.apache.org Betreff: keepalive

Re: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Jim Jagielski
On Nov 15, 2007, at 7:02 AM, Plüm, Rüdiger, VF-Group wrote: @@ -567,8 +567,21 @@ return APR_SUCCESS; } -if (mode == AP_MODE_EATCRLF || mode == AP_MODE_EXHAUSTIVE || -mode == AP_MODE_SPECULATIVE) { +if (mode == AP_MODE_SPECULATIVE) { +const char *data; +

Apache 2.0 module skeleton

2007-11-15 Thread Graf László
Hi all, Can somebody give a project skeleton for Apache 2.0 module? I need it for the development of a custom module for Apache 2.2.6 on Windows XP (SP2) and I have access to Microsoft Visual Studio 2005 and Microsoft Visual C++ 6.0. Thank you, -- Graf László

Re: [PROPOSAL] Adoption of mod_dns to httpd?

2007-11-15 Thread Sander Temme
On Nov 14, 2007, at 9:17 AM, Justin Erenkrantz wrote: [X] Immediate adoption as a subproject (pending IP clearance via the incubator) - But, no separate mailing lists and no separate committers +1 S. -- Sander Temme [EMAIL PROTECTED] PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40

Httpd 'Amsterdam' commits

2007-11-15 Thread Mladen Turk
Hi, Seems that there are lots of commits made recently to that branch (IIUC Apache 3) However I simply cannot recall there was any discussion except the one in the https://svn.apache.org/repos/asf/httpd/sandbox/amsterdam/ROADMAP So, a simple question, what are we doing? What are the goals and

Re: Httpd 'Amsterdam' commits

2007-11-15 Thread Justin Erenkrantz
On Nov 15, 2007 12:10 PM, Mladen Turk [EMAIL PROTECTED] wrote: If the guys committing those stuff can share some light to the rest of us, perhaps we could participate as well. The path we're going down (for now) is making serf the core input/output filtering mechanism. In a conversation here

Re: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Ruediger Pluem
On 11/15/2007 04:26 PM, Jim Jagielski wrote: On Nov 15, 2007, at 7:02 AM, Plüm, Rüdiger, VF-Group wrote: @@ -567,8 +567,21 @@ return APR_SUCCESS; } -if (mode == AP_MODE_EATCRLF || mode == AP_MODE_EXHAUSTIVE || -mode == AP_MODE_SPECULATIVE) { +if (mode

Re: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Jim Jagielski
On Nov 15, 2007, at 7:02 AM, Plüm, Rüdiger, VF-Group wrote: -if (APR_BRIGADE_SENTINEL(ctx-bb)) { +if (APR_BRIGADE_EMPTY(ctx-bb)) { +*len = 0; +return APR_EOF; +} + +if (APR_BUCKET_IS_EOS(APR_BRIGADE_FIRST(ctx-bb)) || +

Re: Help: How to call function on Apache quitA

2007-11-15 Thread Erik Lotspeich
Hi Nick, Thank you for your response. I tried this approach initially. I may have been using it incorrectly, however. What I tried was setting up the cleanup function with the process pool itself as data. The reason for this is that I wanted to retrieve some data via

Re: [PROPOSAL] Adoption of mod_dns to httpd?

2007-11-15 Thread Issac Goldstand
Guenter Knauf wrote: Hi Issac, I'd like to offer up mod_dns (http://www.beamartyr.net/mod-dns-1.02.tar.bz2) for inclusion in the httpd project (either as a mod_ftp-like subproject, or as module with the standard distribution - whatever people prefer). Can people vote for what they're

--enable-distcache

2007-11-15 Thread Philip M. Gollucci
expat_ver=2.0.0 apr_config=apr-1-config apu_config=apu-1-config httpd_ver=2.2.6 cd $HOME/build/dist ; fetch -mva http://mirror.olnevhost.net/pub/apache/httpd/httpd-$httpd_ver.tar.gz cd $HOME/build/src ; tar -xvzf $HOME/build/dist/httpd-$httpd_ver.tar.gz CFLAGS=-O2 -fno-strict-aliasing -pipe

Re: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Jim Jagielski
On Nov 15, 2007, at 12:17 PM, Ruediger Pluem wrote: I don't follow that, but I'm still not quite fully awake yet... Well, as far as I understand AP_MODE_SPECULATIVE its purpose is to read data and return it to the caller, but leave the data in the input filter chain such that a following

2.2.7 seems to come in sight: Digest of STATUS

2007-11-15 Thread Ruediger Pluem
Now that the TR of APR / APR-UTIL is in progress (Thanks Other Bill) httpd 2.2.7 seems to come in sight. There are about 10 backport proposals in the STATUS file that are only missing one vote. So come on it is voting and review time guys :-)). There is one backport proposal

Re: svn commit: r595464 - /httpd/httpd/branches/1.3.x/src/main/http_main.c

2007-11-15 Thread Jim Jagielski
On Thu, Nov 15, 2007 at 09:31:17PM -, [EMAIL PROTECTED] wrote: Modified: httpd/httpd/branches/1.3.x/src/main/http_main.c URL: http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/main/http_main.c?rev=595464r1=595463r2=595464view=diff

Re: 2.2.7 seems to come in sight: Digest of STATUS

2007-11-15 Thread Jim Jagielski
On Nov 15, 2007, at 4:22 PM, William A. Rowe, Jr. wrote: Ruediger Pluem wrote: Now that the TR of APR / APR-UTIL is in progress (Thanks Other Bill) httpd 2.2.7 seems to come in sight. There are about 10 backport proposals in the STATUS file that are only missing one vote. So come on it is

Re: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?revision=595110view=markup

2007-11-15 Thread Justin Erenkrantz
On Nov 15, 2007 12:17 PM, Ruediger Pluem [EMAIL PROTECTED] wrote: And in the case above we only read the data from ser_in_bucket, but unlike in the AP_MODE_READBYTES case we do not create a transient bucket with data and add it to the bb brigade. So the caller gets back an empty brigade

Re: 2.2.7 seems to come in sight: Digest of STATUS

2007-11-15 Thread William A. Rowe, Jr.
Ruediger Pluem wrote: Now that the TR of APR / APR-UTIL is in progress (Thanks Other Bill) httpd 2.2.7 seems to come in sight. There are about 10 backport proposals in the STATUS file that are only missing one vote. So come on it is voting and review time guys :-)). There is one backport

Re: Httpd 'Amsterdam' commits

2007-11-15 Thread Graham Leggett
Justin Erenkrantz wrote: The path we're going down (for now) is making serf the core input/output filtering mechanism. In a conversation here in Atlanta, I was able to convince myself and a few other people that we could transition filters/brigades into serf buckets. We might want to go for a

mod_ldap: server_config structure part of the API?

2007-11-15 Thread Eric Covener
All, mod_ldap has it's own server_config struct defined in httpd/include/util_ldap.c -- does this location implicitly make the server config structure part of the API? If So, what kind of one-time bump would it take to pull this out of the public header? -- Eric Covener [EMAIL PROTECTED]

Re: [PROPOSAL] Adoption of mod_dns to httpd?

2007-11-15 Thread Guenter Knauf
Hi Issac, Issac Goldstand schrieb: I don't think that #include rr.h would work with apxs (which is the build method that I wrote it around). no problem; you can just tell apxs to use an include path; I've just tried on my SuSE box with: apxs2 -c -I . *.c rr/*.c build.log 21 here's the