Re: figuring out Apache::Test's valid substitute tokens

2001-11-21 Thread Stas Bekman
oops, wanted to send this to test-dev... sorry. Stas Bekman wrote: > I'm documenting the configuration file tokens substitution feature > (@ServerRoot@, etc). Currently Apache::Test doesn't provide the list of > valid tokens (and their purpose), neither programmatically nor > documentally. Wh

core_output_filter broken Re: core output filter buffering

2001-11-21 Thread Brian Pane
Ryan Bloom wrote: > On Wednesday 21 November 2001 10:29 am, Ian Holsman wrote: > > On Wed, 2001-11-21 at 10:14, Ryan Bloom wrote: > > > On Tuesday 20 November 2001 03:23 pm, Doug MacEachern wrote: > [...] > The core should be doing this for you. I think you are seeing the problem > I described

figuring out Apache::Test's valid substitute tokens

2001-11-21 Thread Stas Bekman
I'm documenting the configuration file tokens substitution feature (@ServerRoot@, etc). Currently Apache::Test doesn't provide the list of valid tokens (and their purpose), neither programmatically nor documentally. What would be the best way to approach this issue? ___

Re: another socket segv (worker MPM)

2001-11-21 Thread Brian Pane
I wrote: [...] > I've managed to isolate the problem a bit further. The csd struct gets > corrupted within core_create_conn: Er, no, it actually happens earlier than that. What seems to have happened is that, in the listener loop, this block got executed with rv->accept_func==check_pipe_of_d

Re: [PATCH] Makefile.in

2001-11-21 Thread Aaron Bannert
On Wed, Nov 21, 2001 at 05:26:31PM -0800, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: > So, is the patch a "-1" ?.. Nope, it has 2 +1's (Me and OtherBill). I've applied your patch in my tree and tested it, so I'm going to wait another day or until someone else gives it a +1 to commit. :) -a

[STATUS] (httpd-2.0) Wed Nov 21 23:45:14 EST 2001

2001-11-21 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2001/11/21 18:19:06 $] Release: 2.0.29 : 2.0.28 : released November 13, 2001 2.0.27 : rolled November 6, 2001 2.0.26 : tagged October 16, 2001. not rolled. 2.0.25 : rolle

[STATUS] (apache-1.3) Wed Nov 21 23:45:09 EST 2001

2001-11-21 Thread Rodent of Unusual Size
APACHE 1.3 STATUS: -*-text-*- Last modified at [$Date: 2001/11/10 20:30:54 $] Release: 1.3.22: Tagged Oct 8, 2001. Announced Oct 12, 2001. 1.3.21: Not released. (Pulled for htdocs/manual config mismatch. t/r Oct 5, 2001) 1.3.

Re: another socket segv (worker MPM)

2001-11-21 Thread Brian Pane
I wrote: > Worker MPM, built from the CVS head earlier today, on Solaris... I've managed to isolate the problem a bit further. The csd struct gets corrupted within core_create_conn: static conn_rec *core_create_conn(apr_pool_t *ptrans, server_rec *server, ap

Re: Apache 2.0.27 and 2.0.28 RPM available

2001-11-21 Thread Daniel Stone
On Tue, Nov 20, 2001 at 12:32:07PM -0800, Justin Erenkrantz wrote: > [ Please inline your patches rather than attaching them unless > you are using LookOut! It makes it awfully hard to review. ] What's LookOut! ? BTW, inlining is sorta tricky to do with mutt, and I haven't yet mastered vim -

another socket segv (worker MPM)

2001-11-21 Thread Brian Pane
Worker MPM, built from the CVS head earlier today, on Solaris... (gdb) where #0 apr_sockaddr_ip_get (addr=0xe3a78, sockaddr=0x0) at ../unix/sa_common.c:139 #1 0x4a3e0 in core_create_conn (ptrans=0xe3a78, server=0x7ce08, csd=0xe3aa8, conn_id=1) at core.c:3347 #2 0x406d8 in ap_run_create_c

RE: mod_ssl ssl::verify::depth ?

2001-11-21 Thread Doug MacEachern
On Wed, 21 Nov 2001, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: > If I'm not wrong, what we're trying to do here is to enforce the strongest > SSLVerifyDepth b/w the directory config and the server-config - right, but i don't see why ssl::verify::depth was ever needed for that. i mean, the

RE: [PATCH] Makefile.in

2001-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
So, is the patch a "-1" ?.. -Madhu -Original Message- From: Cliff Woolley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 12:02 AM To: [EMAIL PROTECTED] Subject: Re: [PATCH] Makefile.in On Tue, 20 Nov 2001, Aaron Bannert wrote: > > Especially with all the linkages, if mo

RE: SSL and certficates script

2001-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Sure deal.. I'll incorporate the CA cert., Client cert. generation also.. BTW, I was thinking of removing the "--type" option - are there any objections ?.. -Madhu -Original Message- From: Gomez Henri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 3:30 PM To: MATHIHALLI,M

RE: mod_ssl ssl::verify::depth ?

2001-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
If I'm not wrong, what we're trying to do here is to enforce the strongest SSLVerifyDepth b/w the directory config and the server-config - I'm not sure if this patch would achieve that.. Thx -Madhu -Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Novem

mod_ssl ssl::verify::depth ?

2001-11-21 Thread Doug MacEachern
i was about to move the usage of c->notes.ssl::verify::depth to SSLConnRec.verify_depth and in the process noticed the bloody thing is never used. the comment says: /* * override of SSLVerifyDepth * * The depth checks are handled by us manually inside the verify callback

install didn't respect manualdir

2001-11-21 Thread Gomez Henri
I saw a little problem in Makefile.in which didn't install correctly manual dir, it use prefix/manual instead of manualdir : Here is the fix : --- Makefile.in.origThu Nov 22 00:36:09 2001 +++ Makefile.in Thu Nov 22 00:37:01 2001 @@ -95,8 +95,8 @@ @echo Installing HTML documents

RE: SSL and certficates script

2001-11-21 Thread Gomez Henri
En réponse à "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <[EMAIL PROTECTED]>: > The script is pretty similar to what we had for Apache 1.3.x.. You can > get > the usage details by "./mkcert.sh --help".. Pl. do let me know if the > Usage > details provided are not sufficient - I'll try to put in mo

[PATCH] (was Re: any reason why post_config hook doesn't letmodules fail init?)

2001-11-21 Thread Ian Holsman
On Tue, 2001-11-20 at 11:29, Justin Erenkrantz wrote: > On Tue, Nov 20, 2001 at 02:25:56PM -0500, Jeff Trawick wrote: > > We have several modules which "exit(1)" from their post_config > > hook if something bad happens that the administrator must correct > > (e.g., mod_unique_id, mod_rewrite). B

Re: cvs commit: httpd-2.0/server core.c

2001-11-21 Thread Ryan Bloom
On Wednesday 21 November 2001 12:00 pm, Ian Holsman wrote: > On Wed, 2001-11-21 at 10:25, [EMAIL PROTECTED] wrote: > > rbb 01/11/21 10:25:40 > > > > Modified:modules/generators config5.m4 > >server core.c > > hey Ryan > you forgot to add test_pass_brigade.c > to CVS

Current CVS on Win32

2001-11-21 Thread Sebastian Bergmann
I'm getting hundreds of errors, all referring to the following C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(872): error C2061: Syntax error: Identifier 'PALETTEENTRY' C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(873): error C2059: Syntax error: '}' C:\Programme\Micro

[patch] mod_setenvif r->notes--

2001-11-21 Thread Doug MacEachern
first hunk switches from using r->notes to r->request_config, which is much faster. and important considering that code runs at least twice for every request if mod_setenvif is loaded. second gets rids of a strcmp. if there is a '!' in val, it will never be more than that. Index: modules/metada

Re: cvs commit: httpd-2.0/server core.c

2001-11-21 Thread Ian Holsman
On Wed, 2001-11-21 at 10:25, [EMAIL PROTECTED] wrote: > rbb 01/11/21 10:25:40 > > Modified:modules/generators config5.m4 >server core.c hey Ryan you forgot to add test_pass_brigade.c to CVS > Log: > Fix a bug in our output filter buffering. If a lot of small

Re: Remove OLD_WRITE

2001-11-21 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > On Wednesday 21 November 2001 11:02 am, Greg Ames wrote: > > Ryan Bloom wrote: > > > I would like to remove the OLD_WRITE filter. As much as we tried to > > > prevent it, we do a LOT of buffering in the core_output_filter to handle > > > pathological case

Re: segv in socket read

2001-11-21 Thread Ryan Bloom
On Wednesday 21 November 2001 11:14 am, Jeff Trawick wrote: > Brian Pane <[EMAIL PROTECTED]> writes: > > I'm seeing this randomly on Solaris, with a build compiled from > > the latest CVS head about 5 minutes ago: > > > > gdb) where > > #0 0xff34fab8 in apr_wait_for_io_or_timeout (sock=0xe3130, f

Re: segv in socket read

2001-11-21 Thread Jeff Trawick
Brian Pane <[EMAIL PROTECTED]> writes: > I'm seeing this randomly on Solaris, with a build compiled from > the latest CVS head about 5 minutes ago: > > gdb) where > #0 0xff34fab8 in apr_wait_for_io_or_timeout (sock=0xe3130, for_read=1) > at sendrecv.c:70 set a breakpoint in the apr socket

Re: Remove OLD_WRITE

2001-11-21 Thread Ryan Bloom
On Wednesday 21 November 2001 11:02 am, Greg Ames wrote: > Ryan Bloom wrote: > > I would like to remove the OLD_WRITE filter. As much as we tried to > > prevent it, we do a LOT of buffering in the core_output_filter to handle > > pathological cases. This means that we buffer at the top of the st

Re: Remove OLD_WRITE

2001-11-21 Thread Greg Ames
Ryan Bloom wrote: > > I would like to remove the OLD_WRITE filter. As much as we tried to prevent > it, we do a LOT of buffering in the core_output_filter to handle pathological > cases. This means that we buffer at the top of the stack, and again at the > bottom of the stack. We can ease the l

segv in socket read

2001-11-21 Thread Brian Pane
I'm seeing this randomly on Solaris, with a build compiled from the latest CVS head about 5 minutes ago: gdb) where #0 0xff34fab8 in apr_wait_for_io_or_timeout (sock=0xe3130, for_read=1) at sendrecv.c:70 #1 0xff34fd4c in apr_recv (sock=0xe3130, buf=0x103270 "", len=0xfdf03778) at sendre

Remove OLD_WRITE

2001-11-21 Thread Ryan Bloom
I would like to remove the OLD_WRITE filter. As much as we tried to prevent it, we do a LOT of buffering in the core_output_filter to handle pathological cases. This means that we buffer at the top of the stack, and again at the bottom of the stack. We can ease the logic a lot by just removing

Re: core output filter buffering

2001-11-21 Thread Ryan Bloom
On Wednesday 21 November 2001 10:29 am, Ian Holsman wrote: > On Wed, 2001-11-21 at 10:14, Ryan Bloom wrote: > > On Tuesday 20 November 2001 03:23 pm, Doug MacEachern wrote: > > > > Okay, I have looked at this again. I have a patch, but it is doing too > > much buffering now. :-( I'm hoping to f

Re: core output filter buffering

2001-11-21 Thread Ian Holsman
On Wed, 2001-11-21 at 10:14, Ryan Bloom wrote: > On Tuesday 20 November 2001 03:23 pm, Doug MacEachern wrote: > > Okay, I have looked at this again. I have a patch, but it is doing too much > buffering now. :-( I'm hoping to fix this soon. However, there is a > misunderstanding in the questi

Re: core output filter buffering

2001-11-21 Thread Ryan Bloom
On Tuesday 20 November 2001 03:23 pm, Doug MacEachern wrote: Okay, I have looked at this again. I have a patch, but it is doing too much buffering now. :-( I'm hoping to fix this soon. However, there is a misunderstanding in the question below that I want to clear up. We try to buffer up to

RE: SSL and certficates script

2001-11-21 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
The script is pretty similar to what we had for Apache 1.3.x.. You can get the usage details by "./mkcert.sh --help".. Pl. do let me know if the Usage details provided are not sufficient - I'll try to put in more details there.. The creation of a self-signed CA and a certificate are both linked t

[PATCH] apr-ize the ap_ugname2id calls

2001-11-21 Thread William A. Rowe, Jr.
The question is, do we do so here [keeping the function and #n syntax] or move the calls and #n parsing to the fns (with a helper, if it helps.) Bill - Original Message - From: "Jeff Trawick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 6:54 AM Subject:

Re: [PATCH] Check the mpm exists when using --with-mpm=MPM

2001-11-21 Thread jean-frederic clere
Jeff Trawick wrote: > > jean-frederic clere <[EMAIL PROTECTED]> writes: > > > === > > RCS file: /home/cvs/apache/httpd-2.0/server/mpm/config.m4,v > > retrieving revision 1.39 > > diff -u -r1.39 config.m4 > > --- ./server/mpm/config.

Re: [PATCH 2] Re: [PATCH] mmap_setaside (with apr_mmap_dup)

2001-11-21 Thread Ian Holsman
Thanks Brian. It's commited. On Thu, 2001-11-15 at 20:35, Brian Pane wrote: > Greg Stein wrote: > [...] > > >>I gave up trying to do full reference counting semantics for > >>duplicates of apr_mmap_t, because I couldn't find a suitable > >>pool to own the locks that would be required in a thread

RE: [patch] mod_ssl + c->notes--

2001-11-21 Thread Ian Holsman
On Tue, 2001-11-20 at 20:46, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: > +1.. This is great !!.. The only reason I'd started off with c->notes was > that I wanted something to be persistant thru' the multiple requests.. This > solution would be ideal.. > > -Madhu I'm looking at the patch,

Re: [PATCH] Check the mpm exists when using --with-mpm=MPM

2001-11-21 Thread Justin Erenkrantz
On Wed, Nov 21, 2001 at 11:40:56AM -0500, Jeff Trawick wrote: > (maybe AC_MSG_ERROR() bails out; I dunno) It does. -- justin

Re: [PATCH] Check the mpm exists when using --with-mpm=MPM

2001-11-21 Thread Jeff Trawick
jean-frederic clere <[EMAIL PROTECTED]> writes: > === > RCS file: /home/cvs/apache/httpd-2.0/server/mpm/config.m4,v > retrieving revision 1.39 > diff -u -r1.39 config.m4 > --- ./server/mpm/config.m42001/11/19 18:07:28 1.39 >

[PATCH] Check the mpm exists when using --with-mpm=MPM

2001-11-21 Thread jean-frederic clere
Jeff Trawick wrote: > > jean-frederic clere <[EMAIL PROTECTED]> writes: > > > What should I use now? worker or perchild > > As it says in CHANGES... > > *) The threaded MPM for Unix has been removed. Use the worker > MPM instead. [various] > > > Would it be possible to check the give

Re: Questions, questions

2001-11-21 Thread Jeff Trawick
"William A. Rowe, Jr." <[EMAIL PROTECTED]> writes: > For that matter, I wrote the attached patch to base these on APR, but do I need to hold the e-mail up to a candle to see the attachment? -- Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site: http://www.geocities.com/Silico

RE: SSL and certficates script

2001-11-21 Thread GOMEZ Henri
Good, How did we use this script to create the self-signed CA ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message---

Re: [PATCH] Makefile.in

2001-11-21 Thread Cliff Woolley
On Tue, 20 Nov 2001, Aaron Bannert wrote: > > Especially with all the linkages, if mod_ssl is an so, you have the massive > > overhead of resolving all the libssl/libeay sorts of symbols just to load > > a module that's never used. That is brokenness. > > I can agree with this (it takes noticabl