[PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread Brian Pane
Thanks to everybody who reviewed the first patch. This new version adds error-checking fixes and moves the brigade-splitting back into send_parsed_content. I also added a nonblocking read to find_end_sequence. --Brian Index: mod_include.h ===

Re: 2.0.24 bad 'make'

2001-08-28 Thread Chris Simmons
As a matter of fact, it does the same with 2.0.22 and 2.0.16 I'm about to try going to 1.3.x and see what happens. I'll let you know if any funny stuff comes up. I want to try to narrow it down to a specific series of builds, perhaps shedding some light on why it's crashing. I'll keep you pos

RE: mod_tls

2001-08-28 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
'not sure what you mean by "entire filter scheme" - if you're referring to the proposal to seperate the HTTPS and the SSL filter logic - I'd rather prefer to leave SSL as it is (especially if it works with other protocol modules).. Thanks -Madhu -Original Message- From: Gonyou, Austin

apr_shm_calloc() segfaults if out of memory

2001-08-28 Thread Graham Leggett
Hi all, While testing some tolerances in the LDAP cache when it runs out of memory, I discovered that apr_shm_calloc() segfaults if you attempt to allocate a block of memory bigger than the memory block you orginally defined. Surely in this case apr_shm_calloc() should return NULL instead? Prog

Re: cvs commit: httpd-2.0 STATUS

2001-08-28 Thread Jeff Trawick
Joshua Slive <[EMAIL PROTECTED]> writes: > On 28 Aug 2001 [EMAIL PROTECTED] wrote: ... > > + ./configure --enable-mods=most > > + > > +This builds mod_mime(good) but doesn't build mod_headers at > > +all (bad). > > I think your problem here is that --enable-mods is n

Re: 2.0.24 bad 'make'

2001-08-28 Thread PMoore
no problem. then you you should go here: http://dev.apache.org/dist/old/ Specifically: http://dev.apache.org/dist/old/httpd-2_0_22-alpha.tar.gz cheers peter Peter Moore Contractor, ITeG, Axa Australia "Chris Simmons" <[EMAIL PROTECTED]> on 29/08/2001 10:14:25 AM Please respond to [EMAIL P

Re: 2.0.24 bad 'make'

2001-08-28 Thread Chris Simmons
Ah, but I'd like to compile apache with php, postgrsql, and other things should they come up in the future. I'd like to be able to solve the issue of why 'make' is bombing out, instead of getting a binary. That way, I can compile as needed. Teach a man to fish, he'll eat forever, that sort of

Re: 2.0.24 bad 'make'

2001-08-28 Thread PMoore
Chris, you'd be better off using the version from CVS or use 2_0_22. i have a pre-compiled binary for BeOS R5 bone/7a over at: http://www.loved.com/beshare/ It is compiled to live in /boot/home/apache2-22 Currently http://beos.loved.com/ is using this version. If you have any queries mail

2.0.24 bad 'make'

2001-08-28 Thread Chris Simmons
Howdy folks. I'm using BeOS Pro R5.0.3 with bone/7a installed, and run into the following problem when doing 'make' on apache 2.0.24 $ make Making all in srclib make[1]: Entering directory `/Repository/ap/httpd-2_0_24/srclib' Making all in apr-util make[2]: Entering directory `/Repository/ap/h

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Greg Stein
On Tue, Aug 28, 2001 at 01:01:11PM -0700, Ryan Bloom wrote: > On Tuesday 28 August 2001 12:17, Greg Stein wrote: > > On Mon, Aug 27, 2001 at 05:09:01PM -0700, Aaron Bannert wrote: > > > This patch implements a resource pool of context pools -- a queue of >... > > IOW, why should this complexity be

Re: cvs commit: httpd-2.0 STATUS

2001-08-28 Thread Joshua Slive
On 28 Aug 2001 [EMAIL PROTECTED] wrote: > + > +* configure --enable-mods-shared=most and --enable-mods=most > + options have issues. Examples: > + > + ./configure --enable-mods-shared=most > + > +This builds mod_headers as a DSO (good) but builds mod_mime > +

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Aaron Bannert
On Tue, Aug 28, 2001 at 12:17:03PM -0700, Greg Stein wrote: > On Mon, Aug 27, 2001 at 05:09:01PM -0700, Aaron Bannert wrote: > > This patch implements a resource pool of context pools -- a queue of > > available pools that the listener thread can pull from when accepting > > a request. The worker

ServiceConfigurationError

2001-08-28 Thread Kevin McCarty
I'm developing an applet that uses javax.media.jai API (Java Advanced Imaging).  And I receive an exception error:  com.sun.media.jai.util.ServiceConfigurationError:  javax.media.jai.OperationRegistrySpi: :sun.io.MalformedInputException I have e-mailed Sun Microsystems and their reply was

RE: mod_tls

2001-08-28 Thread Gonyou, Austin
Kewl. Less maintenance all around. Is the entire filter scheme doomed like this though? -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: Ryan Bloom [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 28,

RE: Apache 2.0.24 make problem

2001-08-28 Thread Gonyou, Austin
Did you get it out of CVS or from the tarball? -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: Chris Simmons [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 11:24 PM > To: [EMAIL PROTECTED]

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jim Jagielski
Just noticed some typos (ie: SYSVMEM instead of SYSVSEM)... will fix. -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Ryan Bloom
On Tuesday 28 August 2001 12:17, Greg Stein wrote: > On Mon, Aug 27, 2001 at 05:09:01PM -0700, Aaron Bannert wrote: > > This patch implements a resource pool of context pools -- a queue of > > available pools that the listener thread can pull from when accepting > > a request. The worker thread th

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Dirk-Willem van Gulik
On Tue, 28 Aug 2001, Jim Jagielski wrote: > Anyone get a chance to look over and try out the latest patch? Looking at it.. (And trying to compare it with what I've got here to make sure I still have all the functionality I needed). Seems all cool sofar. Dw

Re: cvs commit: httpd-2.0/docs/conf httpd-std.conf httpd-win.conf

2001-08-28 Thread William A. Rowe, Jr.
From: "Joshua Slive" <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 12:57 PM > On 28 Aug 2001 [EMAIL PROTECTED] wrote: > > > wrowe 01/08/28 08:29:21 > > > > Modified:docs/conf httpd-std.conf httpd-win.conf > > Log: > > Someone pointed out that we were running the images th

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Greg Stein
On Mon, Aug 27, 2001 at 05:09:01PM -0700, Aaron Bannert wrote: > This patch implements a resource pool of context pools -- a queue of > available pools that the listener thread can pull from when accepting > a request. The worker thread that picks up that request then uses > that pool for the life

Re: [PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread Paul J. Reder
In addition to Ryan's comments I have the following comments... Brian Pane wrote: > How does this patch look? It does the check only on bucket > boundaries, and it pushes out the buffered content if either: > * the amount of buffered content is too large, or > * the apr_bucket_read would blo

[PATCH] ApacheMonitor remote service control

2001-08-28 Thread Mladen Turk
Hi all, Here is a patch to ApaceheMonitor that enables remote server administration (WINNT only). MT. ApacheMonitor.c.diff ApacheMonitor.h.diff ApacheMonitor.rc.diff

Re: cvs commit: httpd-2.0/docs/conf httpd-std.conf httpd-win.conf

2001-08-28 Thread Joshua Slive
On 28 Aug 2001 [EMAIL PROTECTED] wrote: > wrowe 01/08/28 08:29:21 > > Modified:docs/conf httpd-std.conf httpd-win.conf > Log: > Someone pointed out that we were running the images through the INCLUDE > filter. This fixes it, in a sort of hackish way. > I don't remember

[PATCH] version 1.3 mod_nlm.c / CW6

2001-08-28 Thread Günter Knauf
Hi Brad, as there was so much traffic in the Apache mailinglist, I assume that you have not seen this simple patch... tried to compile Apache 1.3 with CodeWarrior 6/PDK3.0 beta, but it breaks at mod_nlm.c Attachment: patch. Have tested the patch with CW5.3 and no problems. Thanks, Guenter.

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jim Jagielski
At 11:35 AM -0400 8/28/01, Jeff Trawick wrote: > >The directive would seem to only be useful for a platform/version that >has no thundering herd problem with accept() and where Apache's >ap_config.h has not yet been tweaked to indicate that. Is this a >real-life problem that we need to solve, or

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jim Jagielski
At 11:00 AM -0400 8/28/01, Jeff Trawick wrote: > >The order it checks for (at the moment :) ) is sysvsem, flock, pthread >mutex, fcntl. The last match wins (i.e., fcntl is preferred). This >can be overridden on a platform basis in apr_hints.m4 by setting the >variable apr_lock_method. That's co

Re: [PATCH] add authenticated user details to environment

2001-08-28 Thread Graham Leggett
Ian Holsman wrote: > just wondering if you wanted to set the 'main' subprocess table instead > of a child when 'auth_ldap' gets called for a subrequest. > currently you are only setting the subrequests subprocess table. How would I do this? Does Apache not handle the merging of the main and sub

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > > > >why is SingleListen needed? > > > > > > Pretty much to make SINGLE_LISTEN runtime rather than compile > > > time... Again, to give the admins more control over how > > > Apache handles mutexing. > > > > I'm not totally against it, it just seems that i

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Ryan Bloom
> > >why is SingleListen needed? > > > > Pretty much to make SINGLE_LISTEN runtime rather than compile > > time... Again, to give the admins more control over how > > Apache handles mutexing. > > I'm not totally against it, it just seems that it is for playing > around (sort of like USE_NONE_SERI

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > At 10:18 AM -0400 8/28/01, Jeff Trawick wrote: > > > >which "default stuff" is needed in 2.0? > > Last I looked, APR uses the traditional ordering of which > locking method to use. Thus, if SysV, fcntl and flock are > available, APR will choose SysV by

Apache 2.0.24 make problem

2001-08-28 Thread Chris Simmons
Howdy folks. I'm using BeOS Pro R5.0.3 with bone/7a installed, and run into the following problem when doing 'make' on apache 2.0.24 $ make Making all in srclib make[1]: Entering directory `/Repository/ap/httpd-2_0_24/srclib' Making all in apr-util make[2]: Entering directory `/Repository/ap/h

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jim Jagielski
At 10:18 AM -0400 8/28/01, Jeff Trawick wrote: > >which "default stuff" is needed in 2.0? Last I looked, APR uses the traditional ordering of which locking method to use. Thus, if SysV, fcntl and flock are available, APR will choose SysV by default, even if it should be fcntl. We know which shoul

Re: [PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread Paul J. Reder
"Paul J. Reder" wrote: > > Brian Pane wrote: > > How does this patch look? It does the check only on bucket > > boundaries, and it pushes out the buffered content if either: > > * the amount of buffered content is too large, or > > * the apr_bucket_read would block. > > > > If this technique

Re: [PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread William A. Rowe, Jr.
From: "Ryan Bloom" <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 8:57 AM > On Monday 27 August 2001 23:27, Brian Pane wrote: > > > How does this patch look? It does the check only on bucket > > boundaries, and it pushes out the buffered content if either: > > * the amount of buffered co

Re: Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jeff Trawick
Jim Jagielski <[EMAIL PROTECTED]> writes: > Anyone get a chance to look over and try out the latest patch? >will lose both and deserve neither" I still have unanswered questions from the post of the first patch. Here they are again, hopefully with the now-resolved issues trim

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Ryan Bloom
On Tuesday 28 August 2001 07:04, Jeff Trawick wrote: > Ryan Bloom <[EMAIL PROTECTED]> writes: > > On Tuesday 28 August 2001 04:03, Jeff Trawick wrote: > > > Aaron Bannert <[EMAIL PROTECTED]> writes: > > > > This patch implements a resource pool of context pools -- a queue of > > > > available pool

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Jeff Trawick
Ryan Bloom <[EMAIL PROTECTED]> writes: > On Tuesday 28 August 2001 04:03, Jeff Trawick wrote: > > Aaron Bannert <[EMAIL PROTECTED]> writes: > > > This patch implements a resource pool of context pools -- a queue of > > > available pools that the listener thread can pull from when accepting > > >

Re: [PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread Ryan Bloom
Good patch, I have just a few fixes that need to be made to it. Most of these are incredibly non-obvious or intuitive. On Monday 27 August 2001 23:27, Brian Pane wrote: > How does this patch look? It does the check only on bucket > boundaries, and it pushes out the buffered content if either:

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Ryan Bloom
On Tuesday 28 August 2001 04:03, Jeff Trawick wrote: > Aaron Bannert <[EMAIL PROTECTED]> writes: > > This patch implements a resource pool of context pools -- a queue of > > available pools that the listener thread can pull from when accepting > > a request. The worker thread that picks up that re

Comments on accept-mutex/single-listen patch ??

2001-08-28 Thread Jim Jagielski
Anyone get a chance to look over and try out the latest patch? -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order

Re: [PATCH] Re: chunking of content in mod_include?

2001-08-28 Thread Paul J. Reder
Brian Pane wrote: > How does this patch look? It does the check only on bucket > boundaries, and it pushes out the buffered content if either: > * the amount of buffered content is too large, or > * the apr_bucket_read would block. > > If this technique looks sound, I can create another patc

[Patch Submission] internal access_log daily rotation with datesuffix

2001-08-28 Thread Bertrand
Hi all, I recently made a little patch for Apache 1.3.19 which allows to activate an internal daily rotation with date suffix in order to have a more reliable and precise rotation than the one I got with the logrotate program. You just have to enable or disable (disabled by default) the Transfe

[PATCH] make distclean not so clean

2001-08-28 Thread Stas Bekman
I've upgraded my libtool (from 1.3.5 to 1.4.6), and couldn't 'make' httpd anymore. The reason was that 'make distclean' wasn't deleting these two files: ./srclib/apr/build/ltmain.sh ./srclib/apr-util/xml/expat/conftools/ltmain.sh here is a patch: Index: srclib/apr/build/Makefile.in

Re: [PATCH] Apache 1.3.21-dev for NetWare builds (5)

2001-08-28 Thread Günter Knauf
Hi Brad, > About 90% of the NetWare specific changes for the APR layer have been > checked into CVS. I am still working on the final 10% (which is > usually the hardest). It may not look that way only because we were > able to piggy back most of the NetWare code on Unix. Th

Re: [PATCH] Apache 1.3.21-dev for NetWare builds (5)

2001-08-28 Thread Pavel Novy
Hi, Greg Stein wrote: >On Mon, Aug 27, 2001 at 04:08:25PM +0200, Pavel Novy wrote: > >>... >>I agree this is an undesirable way for bitfields to be aligned, but this >>agrees with MSVC, upon which we based the bitfield layout. (In MSVC the >>smallest we can make the struct is 4 bytes!) >> >>I t

Re: [PATCH] worker MPM: reuse transaction pools

2001-08-28 Thread Jeff Trawick
Aaron Bannert <[EMAIL PROTECTED]> writes: > This patch implements a resource pool of context pools -- a queue of > available pools that the listener thread can pull from when accepting > a request. The worker thread that picks up that request then uses > that pool for the lifetime of that transac

Re: [PATCH] Apache 1.3.21-dev for NetWare builds (5)

2001-08-28 Thread Pavel Novy
Hi, William A. Rowe, Jr. wrote: >From: "Pavel Novy" <[EMAIL PROTECTED]> >Sent: Monday, August 27, 2001 9:08 AM > > >>I suggest to fix the problem as described (patch attached), even if it will be >considered as CodeWarrior's bug (and fixed, then) >> >by Metrowerks or not. I've detailedly analyz

Re: [PATCH] Apache 1.3.21-dev for NetWare builds (5)

2001-08-28 Thread Greg Stein
On Mon, Aug 27, 2001 at 04:08:25PM +0200, Pavel Novy wrote: >... > I agree this is an undesirable way for bitfields to be aligned, but this > agrees with MSVC, upon which we based the bitfield layout. (In MSVC the > smallest we can make the struct is 4 bytes!) > > I think the way to work around

Re: chunking of content in mod_include?

2001-08-28 Thread Greg Stein
On Mon, Aug 27, 2001 at 08:24:50PM -0700, Ryan Bloom wrote: >... > > This code was put in because we were seeing the mod_include code buffer up > > the entire collection of buckets until an SSI tag was found. If you have a > > 200 MB file with an SSI tag footer at the end of the brigade, the whole