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

2004-09-10 Thread Jeff Trawick
On Fri, 10 Sep 2004 09:34:14 +0200, jean-frederic clere <[EMAIL PROTECTED]> wrote: > 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 platfor

Re: Seg fault: Possible race conditions in mod_mem_cache.c

2004-09-10 Thread Jeff Trawick
>Looking more closely at the implication of the submitted patch, >I don't think we want to lock decrement_refcount() with a >global mutex affecting the whole cache. Yes, it fixes the double free, I think you should commit your last patch ASAP, and then somebody can work out a redesign of the ob

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

2004-09-10 Thread Jeff Trawick
On Fri, 10 Sep 2004 08:19:10 -0400, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > 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 p

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

2004-09-10 Thread Jeff Trawick
On Fri, 10 Sep 2004 08:27:57 -0400, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > >>odd to me that rewrite's translate_name hook, used for processing > >>server config directives, can update r->filename permanently even when > >>it declines > > > > > > that's a common idiom for we mod_perl people

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

2004-09-10 Thread Jeff Trawick
On Fri, 10 Sep 2004 09:01:48 -0500, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > At 05:24 AM 9/10/2004, Jeff Trawick wrote: > >On Fri, 10 Sep 2004 09:34:14 +0200, jean-frederic clere > ><[EMAIL PROTECTED]> wrote: > >> Jeff Trawick wrote: > >> >

Re: [PATCH] fix child reclaim timing

2004-09-15 Thread Jeff Trawick
On Fri, 13 Aug 2004 10:27:11 -0400, Jeff Trawick <[EMAIL PROTECTED]> wrote: > Here is my take on what is wrong with current code: > > 1) It starts complaining a bit too soon. Some third-party modules > have rather complicated child exit strategies. Whether or not that is

Re: cvs commit: apache-1.3/src/os/tpf/samples uri_delims.txt test_char.txt sample_env.txt sample_mak.txt linkhttp.jcl loadset.jcl

2004-09-16 Thread Jeff Trawick
On 15 Sep 2004 23:45:19 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > mccreedy2004/09/15 16:45:18 > >src/modules/proxy mod_proxy.h > Index: mod_proxy.h > === > RCS file: /home/cvs/apache-1.3/src/modu

Re: Apache 2.0.51 util_ldap

2004-09-17 Thread Jeff Trawick
one possibility is to apply the security patches you need to 2.0.50 see http://apache.towardex.com/httpd/patches/apply_to_2.0.50/ the descriptions of the vulnerabilities at http://httpd.apache.org/ indicate which components are affected; note that CAN-2004-0786 applies to all configurations; I ha

Re: [PATCH] fix child reclaim timing

2004-09-17 Thread Jeff Trawick
On Wed, 15 Sep 2004 19:49:22 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > On Wed, Sep 15, 2004 at 01:48:11PM -0400, Jeff Trawick wrote: > > Here's a patch that does something like I mentioned above, though it > > bails out a bit sooner (9 or so seconds). The timing of t

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

2004-09-18 Thread Jeff Trawick
On Fri, 10 Sep 2004 09:55:59 -0400, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > I'm afraid I don't understand. > > yeah, I'm sorry, that's my fault :) I should have taken the time to analyze > the code in context and follow it all through. > > having done that, the only thing that comes to

Re: cvs commit: httpd-2.0/modules/mappers mod_rewrite.c

2004-09-20 Thread Jeff Trawick
On Mon, 20 Sep 2004 12:18:48 -0400, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > trawick 2004/09/18 09:18:27 > > > > Modified:.CHANGES > >modules/mappers mod_rewrite.c > > Log: > > mod_rewrite: Handle per-location rules when r-

Re: cvs commit: httpd-2.0 STATUS

2004-09-22 Thread Jeff Trawick
On 22 Sep 2004 08:57:30 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > jorton 2004/09/22 01:57:30 > > Modified:.Tag: APACHE_2_0_BRANCH STATUS > Log: > Find a third 2.0.51 regression THIS WEEK and win a FREE subscription > to [EMAIL PROTECTED] OFFER ENDS SOON. mod_

Re: Rotatelogs crashes after fork() and execve() on Solaris/Intel

2004-09-22 Thread Jeff Trawick
On Wed, 22 Sep 2004 09:51:07 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > On Tue, Sep 21, 2004 at 04:52:51PM -0700, Michael Corcoran wrote: > > I've also attached a trace of the process after applying a patch that > > I've been using for a while (since version 2.0.49, or something). Here > > is t

Re: Rotatelogs crashes after fork() and execve() on Solaris/Intel

2004-09-22 Thread Jeff Trawick
On Wed, 22 Sep 2004 12:41:24 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > > > On Wed, Sep 22, 2004 at 06:49:03AM -0400, Jeff Trawick wrote: > > On Wed, 22 Sep 2004 09:51:07 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > > > > > I don't think

Re: cvs commit: httpd-2.0 STATUS

2004-09-22 Thread Jeff Trawick
On Wed, 22 Sep 2004 08:39:04 -0500, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > Can we quickly identify what else was broken to roll out 2.0.52 > in the next day or two? I presume this too was 2.0.51 specific? it is my understanding that the mod_mem_cache double-free was a regression introd

Re: cvs commit: httpd-2.0 STATUS

2004-09-22 Thread Jeff Trawick
On Wed, 22 Sep 2004 11:20:02 -0400, Jeff Trawick <[EMAIL PROTECTED]> wrote: > On Wed, 22 Sep 2004 08:39:04 -0500, William A. Rowe, Jr. > <[EMAIL PROTECTED]> wrote: > > Can we quickly identify what else was broken to roll out 2.0.52 > > in the next day or two?

Re: [OT] Developer lists and Reply-To header

2004-09-23 Thread Jeff Trawick
On Thu, 23 Sep 2004 13:20:49 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any reason why apr, apr-util, httpd mailing lists have > Reply-To header set to the sender and not to the list itself. the reason NOT to do it is that it is unintuitive to most people (okay, just me and

Re: Tagged APACHE_2_0_52_WROWE_RC1 candidate

2004-09-23 Thread Jeff Trawick
On Thu, 23 Sep 2004 13:06:15 -0500, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > After battling locks with minfrin, the tree is now tagged. Please > check out and test. it runs my tests slightly better than 2.0.51 did, and the diff looks reasonable as well I'm +1 if it becomes a question of

Re: cvs commit: apr/network_io/win32 sendrecv.c

2004-09-23 Thread Jeff Trawick
On Thu, 23 Sep 2004 16:57:44 -0400, Allan Edwards <[EMAIL PROTECTED]> wrote: > William A. Rowe, Jr. wrote: > > At 02:37 PM 9/23/2004, Allan Edwards wrote: > >>aren't as picky as the MS compiler, since I haven't seen anyone else > >>complaining about this. They seem to reasonably assume that we aren

Re: DWORD_MAX

2004-09-23 Thread Jeff Trawick
On Fri, 24 Sep 2004 07:39:01 +1000, NormW <[EMAIL PROTECTED]> wrote: > Good morning All, > Just trying a build of Apache2.1 from CVS on Windows for the NetWare > platform, and get the following: > > #File: network_io\win32\sendrecv.c > # > # 110:

Re: About mod_setenvif in general, application to mod_deflate in particular.

2004-09-24 Thread Jeff Trawick
On 24 Sep 2004 16:15:31 +0200, Francois PESCE <[EMAIL PROTECTED]> wrote: > For example, in a reverse proxy architecture, this feature may allow to > gzip/deflate documents according to their Content-Type, and not only to > the request-uri or other client-side provided information that may hide > t

Re: new config organization for 2.1

2004-09-24 Thread Jeff Trawick
On Fri, 24 Sep 2004 13:12:30 -0400 (Est (heure d'été)), Joshua Slive <[EMAIL PROTECTED]> wrote: > A straw-man proposal for a new config organization is at > http://www.apache.org/~slive/newconf/ it looks good to me; I guess all those little pieces need extra/foo-std.conf so that users will pick u

Re: 2.0.52-rc1 CANDIDATE tarballs available for testing

2004-09-26 Thread Jeff Trawick
On Thu, 23 Sep 2004 18:43:55 -0500, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > Please see http://httpd.apache.org/dev/dist/ for the current > httpd 2.0 release candidate. Among other items noted in > the CHANGES file, this candidate contains the patch for the > CAN-2004-0811 (cve.mitre.org)

Re: cvs commit: httpd-2.0/modules/mappers mod_rewrite.c

2004-10-14 Thread Jeff Trawick
On Thu, 14 Oct 2004 08:10:32 +0100, Joe Orton <[EMAIL PROTECTED]> wrote: > On Wed, Oct 13, 2004 at 05:23:12PM -, [EMAIL PROTECTED] wrote: > > --- mod_rewrite.c 13 Oct 2004 17:12:09 - 1.135.2.32 > > +++ mod_rewrite.c 13 Oct 2004 17:23:12 - 1.135.2.33 > > @@ -1477,9 +1

Re: cvs commit: httpd-2.0/modules/experimental util_ldap.c

2004-10-14 Thread Jeff Trawick
On 13 Oct 2004 15:25:06 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > minfrin 2004/10/13 08:25:06 > > Modified:.Tag: APACHE_2_0_BRANCH CHANGES STATUS >modules/experimental Tag: APACHE_2_0_BRANCH util_ldap.c > Log: > mod_ldap: fix a bogus error message

Re: segfault patch for util_ldap (was:Re: cvs commit: httpd-2.0 STATUS)

2004-09-28 Thread Jeff Trawick
On Tue, 28 Sep 2004 18:00:12 -0600, Brad Nicholes <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] Tuesday, September 28, 2004 5:31:47 PM >>> > >At 06:12 PM 9/28/2004, Brad Nicholes wrote: > >> I wouldn't consider posting the patch if there was going to be > >>another release in a week a

Re: unlink return checking

2004-09-30 Thread Jeff Trawick
On Thu, 30 Sep 2004 17:12:01 +, Liam J. Foy <[EMAIL PROTECTED]> wrote: > First hello to everyone, am new to this list! :) > > Second of all when browsing through the apache code branch 1.3 I have seen a few > calls to unlink(2) without actually checking the return value. I believe that these

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

2004-10-01 Thread Jeff Trawick
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 > ===

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

2004-10-04 Thread Jeff Trawick
On Mon, 04 Oct 2004 10:35:47 +0200, jean-frederic clere <[EMAIL PROTECTED]> wrote: > > > Jeff Trawick wrote: > > On 1 Oct 2004 16:03:09 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >>jfclere 2004/10/01 09:03:09 > >> > >

Re: Permissions of directories created by mod_disk_cache

2004-10-05 Thread Jeff Trawick
On Tue, 05 Oct 2004 14:25:51 +0200, Rüdiger Plüm <[EMAIL PROTECTED]> wrote: > Hi all, > > I noticed that the permissions of the directories created by mod_disk_cache are set > to > 700 whereas the permissions of the files storing the header information respect the > umask and thus have more permi

Re: cvs commit: httpd-2.0/server/mpm/winnt child.c

2004-10-06 Thread Jeff Trawick
On 5 Oct 2004 21:04:20 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ake 2004/10/05 14:04:20 > > Modified:server/mpm/winnt child.c > Log: > WIN64: SOCKET is not int on 64bit platforms > > Revision ChangesPath > 1.39 +6 -6 httpd-2.0/server/mpm/winnt/chi

Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c

2004-10-06 Thread Jeff Trawick
On Wed, 06 Oct 2004 15:52:43 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > ake 2004/10/06 06:33:29 > > > > Modified:modules/arch/win32 mod_win32.c > >server/mpm/winnt service.c > >support/win32 ApacheMonitor.c > >

Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c

2004-10-06 Thread Jeff Trawick
On Wed, 06 Oct 2004 16:15:51 +0200, Mladen Turk <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > >> > >>Please do not do that any more. I'm sorry but I'm vetoing your patches. > >>Use the official API, it is well documented. > > > > >

Re: Bug: Apache hangs if script invokes fork/waitpid

2004-10-07 Thread Jeff Trawick
On Wed, 6 Oct 2004 11:01:23 -0700, Naik, Roshan <[EMAIL PROTECTED]> wrote: > The Problem: > --- > I notice Apache 2(worker mpm) is not able to correctly handle > a fork/waitpid invoked by a script used with mod_perl. >From Ulrich Drepper: "No threaded programs must use anything but _ex

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 11:30:46 +0200, Timo Eckert <[EMAIL PROTECTED]> wrote: > Hello, > > is it possible on Apache1 to "pipe" the Error-Logs to an own handler? no; unlike Apache 2, Apache 1.3 has no such capability

Re: Apache1 and own ErrorLog-Handler?

2004-10-08 Thread Jeff Trawick
On Fri, 8 Oct 2004 12:07:45 +0200, Timo Eckert <[EMAIL PROTECTED]> wrote: > On Fri, 8 Oct 2004 05:46:29 -0400 > Jeff Trawick <[EMAIL PROTECTED]> wrote: > > > > is it possible on Apache1 to "pipe" the Error-Logs to an own > > > handler? &g

Re: Bug: Apache hangs if script invokes fork/waitpid

2004-10-08 Thread Jeff Trawick
On Thu, 07 Oct 2004 12:53:47 -0700, Paul Querna <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > I think there needs to be a mod_fork which provides a more general > > purpose daemon than that used by mod_cgid, and some Apache API will > > know whether or not t

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

2004-10-25 Thread Jeff Trawick
On 25 Oct 2004 06:40:08 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Index: protocol.c > === > RCS file: /home/cvs/httpd-2.0/server/protocol.c,v > retrieving revision 1.155 > retrieving revision 1.156 > diff -u -r1

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

2004-10-26 Thread Jeff Trawick
On Tue, 26 Oct 2004 14:51:59 +0100, Ivan Ristic <[EMAIL PROTECTED]> wrote: > > Sure, you may need to have some logic to determine what makes > an attack and what not, but you must have the log entry to > begin with so you feed it to the algorithm. Something I'm still curious about: Was the

[PATCH] ap_log_cerror()

2004-10-29 Thread Jeff Trawick
I'm gonna puke if I see another connection-oriented error message with no client IP. Am I missing something basic, or is there really no reason NOT to have ap_log_cerror()? It seems so obvious. before: [Fri Oct 29 06:56:16 2004] [info] (32)Broken pipe: core_output_filter: writing data to the ne

[PATCH] remove ap_sock_disable_nagle() API; improve httpd's handling of nagle errors

2004-10-31 Thread Jeff Trawick
rted] + *) Remove ap_sock_disable_nagle() API. Modules should instead use + the APR support and decide what logging, if any, is appropriate. + [Jeff Trawick] + + *) Log the client IP address when an error occurs disabling nagle on a + connection, but log at a severity of de

Re: apache os x 403 error

2004-11-01 Thread Jeff Trawick
On Mon, 01 Nov 2004 12:50:36 +, lists <[EMAIL PROTECTED]> wrote: > hi > ive started apache (web sharing) on osx (panther). when i hit localhost > isee the apache holding page fine, but if i try browse to a folder i > create in my doc root (localhost/test) i get a 403 permission denied Please s

Re: [PATCH] 1.3.34-dev mod_log_forensic.c to use ap_assert

2004-11-14 Thread Jeff Trawick
On Sun, 14 Nov 2004 13:47:32 -0500, Jim Jagielski <[EMAIL PROTECTED]> wrote: > Anyone have any comments on the below? +1

Re: Fwd: [PROPOSAL-VOTE] Adopt lazy consensus for backports...

2004-11-17 Thread Jeff Trawick
On Wed, 17 Nov 2004 19:42:08 +, Joe Orton <[EMAIL PROTECTED]> wrote: > On Tue, Nov 16, 2004 at 06:10:17PM -0700, Brad Nicholes wrote: > > > >During ApacheCon several httpd PMC members got together to discuss > > current issues with the httpd project and to try to find better ways > > to m

Re: People still using v1.3 - finding out why

2004-11-19 Thread Jeff Trawick
On Thu, 18 Nov 2004 13:43:17 -0600, Graham Leggett <[EMAIL PROTECTED]> wrote: >Apart from backhand, > are there > in the experience of the people on this list any other significant apps > out there that are keeping people from deploying http

mod_cgid, unix socket, ScriptSock directive

2004-11-20 Thread Jeff Trawick
The ScriptSock directive must be used when there are two instances of the server with same ServerRoot. If it is omitted, symptoms may include . wrong credentials for CGIs . CGIs stop working for one server when other server is terminated It should be easy to avoid this configuration requirement

Re: RFC for a Perchild-like-MPM

2004-11-20 Thread Jeff Trawick
On Fri, 19 Nov 2004 17:42:20 +, Ivan Ristic <[EMAIL PROTECTED]> wrote: > Leif W wrote: > > which was last released as version 2.4.2 on > > 2003-11-24. Does it still work with Apache httpd 2.0.x? > > Works fine with httpd 2.0.x in my tests (mod_fastcgi 2.4.2, I > didn't try the more recen

Re: End of Life Policy

2004-11-20 Thread Jeff Trawick
On Sat, 20 Nov 2004 11:45:31 -0700, Paul Querna <[EMAIL PROTECTED]> wrote: > William A. Rowe, Jr. wrote: > > If we simply leave 2.0 as no-features / critical bugfixes / security > > bugfixes / any other nice patches someone wants to craft and get > > votes for - that would be sufficient. > > That

Re: End of Life Policy

2004-11-21 Thread Jeff Trawick
On Sat, 20 Nov 2004 13:11:16 -0700, Paul Querna <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > > On Sat, 20 Nov 2004 11:45:31 -0700, Paul Querna <[EMAIL PROTECTED]> wrote: > > > >>William A. Rowe, Jr. wrote: > >> > >>>If we

Re: mod_cgid, unix socket, ScriptSock directive

2004-11-22 Thread Jeff Trawick
On Sat, 20 Nov 2004 12:11:34 -0500, Jeff Trawick <[EMAIL PROTECTED]> wrote: > The ScriptSock directive must be used when there are two instances of > the server with same ServerRoot. If it is omitted, symptoms may > include > > . wrong credentials for CGIs > . CGIs sto

Re: Bug #31228

2004-11-23 Thread Jeff Trawick
On Mon, 22 Nov 2004 21:37:43 -0500, Garrett Rooney <[EMAIL PROTECTED]> wrote: > Geoffrey Young wrote: > > > > > > Garrett Rooney wrote: > > > >>Justin Erenkrantz wrote: > >> > >> > >>>--On Friday, September 17, 2004 1:07 PM -0400 Garrett Rooney > >>><[EMAIL PROTECTED]> wrote: > >>> > >>> > Co

Re: mod_cgid, unix socket, ScriptSock directive

2004-11-23 Thread Jeff Trawick
On Tue, 23 Nov 2004 12:18:11 -0500, Bill Stoddard <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > > > On Sat, 20 Nov 2004 12:11:34 -0500, Jeff Trawick <[EMAIL PROTECTED]> wrote: > > > >>The ScriptSock directive must be used when there

Re: svn commit: r106369 - /httpd/httpd/branches/2.0.x/STATUS

2004-11-24 Thread Jeff Trawick
On Wed, 24 Nov 2004 01:43:43 -0800, Justin Erenkrantz <[EMAIL PROTECTED]> wrote: > --On Wednesday, November 24, 2004 9:12 AM + Joe Orton <[EMAIL PROTECTED]> > wrote: > > > The http://svn.apache.org/viewcvs.cgi?rev=106264&view=rev link will > > catch everything though, right? > > See the commi

Re: mod_proxy debug warnings

2004-11-28 Thread Jeff Trawick
On Sun, 28 Nov 2004 13:54:02 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Mladen Turk wrote: > > Stas Bekman wrote: > > > >> I know those are debug level warnings, but are those really needed? > >> > >> I get 34 of these identical lines every time the module is initialized: > >> > >> [Sat Nov 27

Re: VirtualHost trafic

2004-11-28 Thread Jeff Trawick
On Sat, 27 Nov 2004 09:56:59 +0100, Antonín Karásek <[EMAIL PROTECTED]> wrote: > Hi, > I have a simple (but I think useful) program for measuring a trafic of each > VirtualHost. > > What can I do to see my program on page like this: > http://httpd.apache.org/docs-2.0/programs/other.html You are a

Re: svn commit: r106902 - /httpd/httpd/trunk/modules/proxy/proxy_util.c

2004-11-29 Thread Jeff Trawick
On 29 Nov 2004 10:43:30 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: mturk > Date: Mon Nov 29 02:43:28 2004 > New Revision: 106902 ... > Also log the child pid so that logging > makes sense. ... > --- httpd/httpd/trunk/modules/proxy/proxy_util.c(orig

[PATCH] worker MPM, stranded processes after apachectl stop

2004-11-29 Thread Jeff Trawick
(this likely applies to some other threaded MPMs) Sometimes the MPM has to create a new child process even though there are no free scoreboard slots. This can occur when child process currently consuming scoreboard slots are trying to exit, but still have at least one thread serving an active req

Re: signals under worker mpm?

2004-11-29 Thread Jeff Trawick
On Mon, 29 Nov 2004 13:24:29 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Is there some doc explaining the usage of signal handlers under different > mpms? No, although I would suggest the following ;) /* @tip Don't use signals in your own modules. Apache makes no effort to * support modules

Re: signals under worker mpm?

2004-11-29 Thread Jeff Trawick
On Mon, 29 Nov 2004 16:16:09 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > On Mon, 29 Nov 2004 13:24:29 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > > > >>Is there some doc explaining the usage of signal handlers under different

Re: [PATCH] worker MPM, stranded processes after apachectl stop

2004-11-29 Thread Jeff Trawick
On Mon, 29 Nov 2004 18:41:36 -0500, Greg Ames <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > [...] > > > > As soon as the > > new child takes over the process slot, the MPM forgets that the old > > child existed. If the old child neve

Re: signals under worker mpm?

2004-11-29 Thread Jeff Trawick
On Mon, 29 Nov 2004 17:16:31 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > How is SIGALRM used specifically? > > e.g.: > eval { > POSIX::sigaction(SIGALRM, > POSIX

Re: VirtualHost trafic

2004-11-30 Thread Jeff Trawick
On Tue, 30 Nov 2004 15:08:51 +0100, Antonin Karasek <[EMAIL PROTECTED]> wrote: > Exactly... > > > > Jeff Trawick wrote: > > On Sat, 27 Nov 2004 09:56:59 +0100, Antonín Karásek > > <[EMAIL PROTECTED]> wrote: > > > >>Hi, > >>I have

Re: signals under worker mpm?

2004-12-01 Thread Jeff Trawick
On Mon, 29 Nov 2004 22:36:01 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > > On Mon, 29 Nov 2004 17:16:31 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > > > >>Jeff Trawick wrote: > >> > >> > >&g

Re: signals under worker mpm?

2004-12-02 Thread Jeff Trawick
On Thu, 02 Dec 2004 07:41:58 +, Andy Armstrong <[EMAIL PROTECTED]> wrote: > Stas Bekman wrote: > [snip] > > Alternatively one could use a manager thread that implements > > something like a thread-specific alarm(), where a signal handler > > running on the interrupted thread does siglongjmp() t

Re: signals under worker mpm?

2004-12-02 Thread Jeff Trawick
On Wed, 01 Dec 2004 19:34:54 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > > > Usage of signals outside the httpd core: > > > 3rd party Apache 2 modules should avoid using code relying on signals. > This is becau

Re: How does MPM actually work?

2004-12-02 Thread Jeff Trawick
On Thu, 02 Dec 2004 13:01:49 +, Scott MacVicar <[EMAIL PROTECTED]> wrote: > Hi, > > I've been trying to get my head around the MPM module and I realise its > a hybrid of multi-threading and multi-processing. Can someone either > confirm what I'm saying or correct any obvious mistakes. > > 1 M

Re: kill -HUP vs. httpd -k graceful

2004-12-02 Thread Jeff Trawick
On Thu, 02 Dec 2004 13:41:07 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Is there a difference between kill -HUP and httpd -k graceful? One user > has reported problems with using kill -HUP graceful uses signal USR1; ungraceful restart uses HUP; not expected that HUP would cause a crash

Re: How does MPM actually work?

2004-12-03 Thread Jeff Trawick
On Fri, 03 Dec 2004 18:07:12 -0500, Ronald Park <[EMAIL PROTECTED]> wrote: > And, given the problem described about long running request causing > children to potentially fall off the scoreboard, what happens in the > following scenario: > > Each of the X servers has 1 or more threads working on l

Re: [PATCH] fixing broken gnu ld (mis)detection problem

2004-12-08 Thread Jeff Trawick
On Tue, 7 Dec 2004 21:53:07 +0100, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > here's a patch against httpd-2.0.49 which fixes the broken > configure script. we don't maintain configure; it is autogenerated; any fixes need to be in the input files; it looks like the portion you had to modify co

Re: 2.1 CVS: ftp proxy probably broken

2004-12-08 Thread Jeff Trawick
On Thu, 14 Oct 2004 15:52:05 +0200, Andreas Steinmetz <[EMAIL PROTECTED]> wrote: > Did anybody notice that the ftp proxy seems to be broken? > > Any request returns 503 and the reason seems to be that > ap_proxy_connect_backend is called with conn->addr=NULL > from ap_proxy_ftp_handler. I can't g

Re: 2.1 CVS: ftp proxy probably broken

2004-12-09 Thread Jeff Trawick
On Thu, 09 Dec 2004 08:17:37 +0100, Mladen Turk <[EMAIL PROTECTED]> wrote: > Andreas Steinmetz wrote: > > Did anybody notice that the ftp proxy seems to be broken? > > > > Any request returns 503 and the reason seems to be that > > ap_proxy_connect_backend is called with conn->addr=NULL > > from ap

Re: Hackathon during Q1 2005?

2004-12-12 Thread Jeff Trawick
On Sun, 12 Dec 2004 00:37:49 -0600, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote: > (Actually - all of this Euro talk reminds me how less-than-optimal > the west coast really is for European participants. The east coast > seems like a short hop by comparison.) "east coast" sounds much better t

[1.3 PATCH] mod_log_forensic: handle long getpid()

2004-12-21 Thread Jeff Trawick
see patch Index: src/modules/standard/mod_log_forensic.c === --- src/modules/standard/mod_log_forensic.c (revision 122969) +++ src/modules/standard/mod_log_forensic.c (working copy) @@ -189,7 +189,8 @@ if (!(id = ap_table_

[1.3 PATCH] backport 2.0 fix to log "-" for %b when through with header but no body bytes sent

2004-12-21 Thread Jeff Trawick
See attached patch. For reference, here is the 2.0 CHANGES entry and a link to the 2.0 patch: *) mod_log_config: Fix %b log format to write really "-" when 0 bytes were sent (e.g. with 304 or 204 response codes). [Astrid Ke\337ler] http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/logg

Re: SSL/VHost logging to Syslog

2004-12-22 Thread Jeff Trawick
On Fri, 17 Dec 2004 12:37:45 -0700, Wayne S. Frazee <[EMAIL PROTECTED]> wrote: > Is there a way to have certain log data (particularly a new session) piped to > syslog natively in apache? > > Are there third party modules which implement this functionality? > > I would like to avoid re-inventing

C-L or T-E: chunked for proxied request bodies

2004-12-30 Thread Jeff Trawick
On 29 Dec 2004 20:39:47 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: trawick > Date: Wed Dec 29 12:39:46 2004 > New Revision: 123674 > > URL: http://svn.apache.org/viewcvs?view=rev&rev=123674 > Log: > does anyone remember this proxy issue? > > Modified: >httpd/httpd/branches/

Re: C-L or T-E: chunked for proxied request bodies

2004-12-30 Thread Jeff Trawick
On Thu, 30 Dec 2004 18:47:48 +0100, Jan Kratochvil <[EMAIL PROTECTED]> wrote: > On Thu, 30 Dec 2004 14:05:30 +0100, Jeff Trawick wrote: > > On 29 Dec 2004 20:39:47 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ... > > Any agreement to use the non-D

Re: C-L or T-E: chunked for proxied request bodies

2004-12-30 Thread Jeff Trawick
On Thu, 30 Dec 2004 13:54:05 -0500, Jeff Trawick <[EMAIL PROTECTED]> wrote: > An interesting issue is that what is in 2.0 now is optimal when it > works, and it works in a common real-world scenario (client sends C-L > and no filters modify the request body size). At present, we d

Re: C-L or T-E: chunked for proxied request bodies

2004-12-30 Thread Jeff Trawick
On Thu, 30 Dec 2004 21:12:16 +0100, Jan Kratochvil <[EMAIL PROTECTED]> wrote: > Hi, > > On Thu, 30 Dec 2004 19:54:05 +0100, Jeff Trawick wrote: > > On Thu, 30 Dec 2004 18:47:48 +0100, Jan Kratochvil > > <[EMAIL PROTECTED]> wrote: > ... > > An inter

Re: realtime client connnection abort notifications

2005-12-17 Thread Jeff Trawick
On 12/17/05, Christian Parpart <[EMAIL PROTECTED]> wrote: > What I need is a way to install a hook within the apache > server process that gets invoked ASAP(!) the client connection > of interest has been aborted (mostly by client side). if a module is busy handling the request (e.g., long-runnin

Re: Apache 2.2.0 Listen Directive

2005-12-28 Thread Jeff Trawick
On 12/28/05, Fenlason, Josh <[EMAIL PROTECTED]> wrote: > > I'm running into an issue where Apache 2.2.0 on AIX won't start if there is > more than one Listen directive. Does it get better if you code Listen 0.0.0.0:port1 Listen 0.0.0.0:port2 ? What version of AIX (unclear that it matters)? Can

Re: Apache 2.2.0 Listen Directive

2005-12-30 Thread Jeff Trawick
On 12/28/05, Jeff Trawick <[EMAIL PROTECTED]> wrote: > On 12/28/05, Fenlason, Josh <[EMAIL PROTECTED]> wrote: > > > > I'm running into an issue where Apache 2.2.0 on AIX won't start if there is > > more than one Listen directive. > Can you send me tr

Re: mod_cgi, fork, and threaded MPMs

2006-01-14 Thread Jeff Trawick
On 1/14/06, Paul Querna <[EMAIL PROTECTED]> wrote: > Last week bloglines.com upgraded from 2.0.x to 2.2.x. At the same time, > I switched us from mod_cgid to mod_cgi. > > mod_cgid has some problems if its path to the cgisock changes at any > time, it really needs to call realpath() on the cgisock

unsupported HTTP response codes, r->status[_line], proxies, range requests

2006-02-16 Thread Jeff Trawick
(perhaps tell me where I go wrong here with the way it is supposed to work) A module that wants to use an HTTP response code which has no built-in support in Apache needs to set r->status AND r->status_line. Otherwise, Apache will return 500 to the client. A module that proxys to some other HTTP

Re: filters that change r->status[_line]

2006-02-17 Thread Jeff Trawick
(editing subject line slightly) On 2/16/06, Jeff Trawick <[EMAIL PROTECTED]> wrote: > (perhaps tell me where I go wrong here with the way it is supposed to work) > > A module that wants to use an HTTP response code which has no built-in > support in Apache needs to s

Re: filters that change r->status[_line]

2006-02-17 Thread Jeff Trawick
On 2/17/06, Joe Orton <[EMAIL PROTECTED]> wrote: > On Fri, Feb 17, 2006 at 11:03:54AM -0500, Jeff Trawick wrote: > > On 2/16/06, Jeff Trawick <[EMAIL PROTECTED]> wrote: > ... > > > The range support right now isn't smart enough to clear r->status_line >

input filter which modifies body, Content-Length

2006-02-23 Thread Jeff Trawick
(Apologies if there is juicy past discussion that I didn't find with my search keywords.) It isn't clear to me what an input filter should do about Content-Length when it modifies the length of the body (assuming that this isn't chunked encoding). It causes problems for some handlers to modify t

Re: input filter which modifies body, Content-Length

2006-02-24 Thread Jeff Trawick
On 2/24/06, Greg Ames <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > It isn't clear to me what an input filter should do about > > Content-Length when it modifies the length of the body (assuming that > > this isn't chunked encoding). > > >

Re: Detecting if Client closed connection

2006-03-03 Thread Jeff Trawick
On 3/1/06, R, Rajesh (STSD) <[EMAIL PROTECTED]> wrote: > > > Hello, > > I am working on a patch, to kill a cgi process if the client closes the > conenction in Apache 2.0.54/mod_cgid. Apache only finds out when it tries to do I/O. CGI needs to write a little output to the client every so often if

pool use/mutex initialization in util_ldap not thread safe?

2006-03-15 Thread Jeff Trawick
Plz forgive any misunderstanding, as well as my use of 2.0 function names ;) Also, for being slow at learning what ldap stands for. I know this code has been hashed over many many times over the last few years. util_ldap_create_config() creates the per-server config for util_ldap. That saves a

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-15 Thread Jeff Trawick
On 3/15/06, Brad Nicholes <[EMAIL PROTECTED]> wrote: > I think you are right. I am going to take a closer look at that code > and see about fixing both the mutex problem and the use of the config > pool. This could actually explain some funny things that I have been > seeing on the NetWare build

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Ruediger Pluem <[EMAIL PROTECTED]> wrote: > > > On 03/16/2006 03:49 AM, Jeff Trawick wrote: > > On 3/15/06, Brad Nicholes wrote: > > > > > That is really one pool globally but there is a mutex per server_rec. > > So a thread handling a requ

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >>> On 3/16/2006 at 7:12 am, in message > <[EMAIL PROTECTED]>, "Jeff > Trawick" > <[EMAIL PROTECTED]> wrote: > > On 3/16/06, Ruediger Pluem <[EMAIL PROTECTED]> wrote: > >> &

Re: pool use/mutex initialization in util_ldap not thread safe?

2006-03-16 Thread Jeff Trawick
On 3/16/06, Graham Leggett <[EMAIL PROTECTED]> wrote: > Jeff Trawick wrote: > > > if ldap server times out the connection and we have to bring one back > > up, that is no pool growth, right? we just get pool growth when we > > talk to an LDAP server we haven&#x

Re: svn commit: r386477 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-16 Thread Jeff Trawick
On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > URL: http://svn.apache.org/viewcvs?rev=386477&view=rev > Log: > remove the race condition when creating the connection pool mutex. Also > eliminate some unnecessary uses of the global memory pool cool! > @@ -1753,7 +1753,10 @@ > u

Re: svn commit: r386477 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-17 Thread Jeff Trawick
On 3/16/06, Brad Nicholes <[EMAIL PROTECTED]> wrote: > >>> On 3/16/2006 at 7:01 pm, in message > <[EMAIL PROTECTED]>, "Jeff > Trawick" > <[EMAIL PROTECTED]> wrote: > > On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > &

Re: svn commit: r386698 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

2006-03-17 Thread Jeff Trawick
On 3/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Author: bnicholes > Date: Fri Mar 17 11:26:27 2006 > New Revision: 386698 > > URL: http://svn.apache.org/viewcvs?rev=386698&view=rev > Log: > Fix the server_merge so that the memory pools and mutexes that were created > during the server_c

Re: svn commit: r386776 - in /httpd/httpd/trunk/docs/manual/mod: mod_ldap.html.en mod_ldap.xml

2006-03-18 Thread Jeff Trawick
On 3/18/06, Graham Leggett <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > URL: http://svn.apache.org/viewcvs?rev=386776&view=rev > > Log: > > LDAPConnectionTimeout and LDAPVerifyServerCert can be configured > > per-vhost > > We need to note in addition to this that not all LDAP SDK lib

Re: mod_cgid not able to handle large POST request

2006-03-31 Thread Jeff Trawick
On 3/31/06, pradeep kumar <[EMAIL PROTECTED]> wrote: > One more detail. I get this error only on commenting out the Scriptsock > directive. When I use this directive though I have no trouble in running the > script. Is there more than one Apache instance with same ServerRoot, such that using the d

Re: prefork mpm in linux: ap_process_connection isn't called on connection

2006-03-31 Thread Jeff Trawick
On 3/28/06, Rian A Hunter <[EMAIL PROTECTED]> wrote: > On the httpd trunk in prefork.c ap_process_connection isn't called until > there is data on the new connection (instead of just when a client connects). Is there a kernel accept filter enabled?

<    1   2   3   4   5   6   7   8   9   10   >