Re: [PATCH] log path to config file during startup

2006-11-16 Thread Jeff Trawick
On 10/16/06, Eric Covener [EMAIL PROTECTED] wrote: Patch below logs the path to the config file just before ap_mpm_run() Can help clear up some mysteries when posthumously analyzing an ErrorLog as a further aid, is it practical to add a list of defines used to parse the conf file? [notice]

vote on concept of ServerTokens Off

2006-12-05 Thread Jeff Trawick
A lot of opinions were offered back in August. Some were negative but I don't see anything that looks like a veto. (http://mail-archives.apache.org/mod_mbox/httpd-dev/200608.mbox/[EMAIL PROTECTED]) A concern with the logging of server version has since been resolved, but implementation of the

Re: vote on concept of ServerTokens Off

2006-12-05 Thread Jeff Trawick
On 12/5/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Jeff Trawick wrote: A lot of opinions were offered back in August. Some were negative but I don't see anything that looks like a veto. (http://mail-archives.apache.org/mod_mbox/httpd-dev/200608.mbox/[EMAIL PROTECTED]) A concern

Re: vote on concept of ServerTokens Off

2006-12-05 Thread Jeff Trawick
On 12/5/06, Ruediger Pluem [EMAIL PROTECTED] wrote: On 12/05/2006 07:16 PM, Jim Jagielski wrote: On Dec 5, 2006, at 7:23 AM, Joe Orton wrote: On Tue, Dec 05, 2006 at 06:39:30AM -0500, Jeff Trawick wrote: A lot of opinions were offered back in August. Some were negative but I don't see

Re: vote on concept of ServerTokens Off

2006-12-06 Thread Jeff Trawick
On 12/6/06, Jim Jagielski [EMAIL PROTECTED] wrote: Jorge Schrauwen wrote: On 12/6/06, Jim Jagielski [EMAIL PROTECTED] wrote: Joe Orton wrote: The motivation given by the submitter was that he pays per byte served, it seems entirely reasonable to allow the Server header to be

Re: vote on concept of ServerTokens Off

2006-12-06 Thread Jeff Trawick
On 12/6/06, Lars Eilebrecht [EMAIL PROTECTED] wrote: According to Jeff: A lot of opinions were offered back in August. Some were negative but I don't see anything that looks like a veto. I voted -1 at that time which is a veto. oops, I didn't read all your messages

Re: vote on concept of ServerTokens Off

2006-12-06 Thread Jeff Trawick
On 12/6/06, Justin Erenkrantz [EMAIL PROTECTED] wrote: On 12/6/06, Jeff Trawick [EMAIL PROTECTED] wrote: We're up to two great answers to disable some output from the server that isn't required by the HTTP protocol anyway: 1) modify the source 2) install third-party module So, uh, why do

Re: vote on concept of ServerTokens Off

2006-12-06 Thread Jeff Trawick
On 12/5/06, Jeff Trawick [EMAIL PROTECTED] wrote: A lot of opinions were offered back in August. Some were negative but I don't see anything that looks like a veto. Why do I care personally? I'd like to see an easy resolution to the common support question which doesn't involve recompiling

Re: vote on concept of ServerTokens Off

2006-12-07 Thread Jeff Trawick
On 12/6/06, Colm MacCarthaigh [EMAIL PROTECTED] wrote: On Wed, Dec 06, 2006 at 01:43:49PM -0500, Jeff Trawick wrote: * The Apache HTTP Server project believes that most people who want to avoid sending the Server header mistakenly think that doing so may protect their server from attacks

Re: vote on concept of ServerTokens Off

2006-12-07 Thread Jeff Trawick
On 12/6/06, Henrik Nordstrom [EMAIL PROTECTED] wrote: ons 2006-12-06 klockan 09:38 -0500 skrev Jeff Trawick: Why other than ego do we want to make it hard to disable this output? Technical reason: Not advertising the brand and version makes it very hard for clients (user-agents and proxies

Re: Issue using piped logging

2006-12-14 Thread Jeff Trawick
On 12/14/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am upgrading from Apache 2.0.53 to Apache 2.2.3 but recently I am facing some issues with piped logging in Apache 2.2 .Please let me know if anyone of you had also faced it. I used following in my httpd.conf for error logging ErrorLog

Re: Piped logger nightmares

2007-01-06 Thread Jeff Trawick
On 1/5/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: http://svn.apache.org/viewvc?view=revsortby=daterevision=104019 Sanity check... 1.3 used /bin/sh in-between httpd and the piped logger. 4513 execve(/bin/sh, [/bin/sh, -c, /scratch/inst/13/bin/rotatelogs ...], [/* 36 vars */]

Re: [VOTE] httpd-2.2.4 release candidate for review

2007-01-08 Thread Jeff Trawick
On 1/6/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: [+1] Release httpd 2.2.4 tested with worker MPM on RedHat 4/ia32 and Solaris 10/SPARC32

Re: Piped logger nightmares

2007-01-09 Thread Jeff Trawick
On 1/8/07, Sander Temme [EMAIL PROTECTED] wrote: On Jan 8, 2007, at 5:06 PM, Sander Temme wrote: Can you confirm that 1.3 was busted on Windows too? Starting 1.3.37 from the shell (not as a Service): I'm starting to engage myself in quite the conversation. Started 2.2.3 from the command

Re: process the request

2007-01-09 Thread Jeff Trawick
On 1/9/07, 张 臻博 [EMAIL PROTECTED] wrote: hello I am reading the code of apache. Is there anybody who knows whether ap_run_pre_connection() and ap_run_process_connection() are functions or macro? and where is the definition for those two , as i can not find any detailed code for them? macros

Re: Where is ap_run_default_port()?

2007-01-16 Thread Jeff Trawick
On 1/15/07, Brandon Fosdick [EMAIL PROTECTED] wrote: I'm trying to use ap_default_port() in mod_log_dbd to get the port number from a request_rec, and apparently it's a macro in httpd.h that wraps ap_run_default_port(). But when I compile the module I get error: `ap_run_default_port' was not

Re: 2007 DST changes, and a non-issue statement...

2007-01-25 Thread Jeff Trawick
On 1/25/07, Jim Jagielski [EMAIL PROTECTED] wrote: We did it with Y2K so +1... Is there anything to say other than (for httpd, for example): Apache httpd and bundled libraries do not maintain their own time zone information. Instead, information is retrieved from the operating system.

Re: 2007 DST changes, and a non-issue statement...

2007-01-26 Thread Jeff Trawick
On 1/26/07, Nick Kew [EMAIL PROTECTED] wrote: Apache httpd and bundled libraries do not maintain their own time zone information. Instead, information is retrieved from the operating system. Relevant operating system updates must be applied and the web server restarted to prevent

Re: [PATCH] exception hook for SIGFPE

2007-01-27 Thread Jeff Trawick
On 1/26/07, Eric Covener [EMAIL PROTECTED] wrote: Single Unix Specification and sniff test* of a few operating systems says SIGFPE (floating point exception) results in a core, but we don't install the sig_coredump handler for this signal along with SIGSEGV, SIGILL, SIGBUS, etc.

Re: 3.0 - Proposed Requirements

2007-02-14 Thread Jeff Trawick
On 2/14/07, Paul Querna [EMAIL PROTECTED] wrote: This proposed list of requirements for a 3.0 platform. this list enables a 'base' level of performance and design decisions to be made. If others can make designs work with 'lessor' requirements, all the better, but I'm not worried about it. I'm

Re: svn commit: r507956 - /httpd/httpd/branches/2.2.x/STATUS

2007-02-15 Thread Jeff Trawick
On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jim Date: Thu Feb 15 07:14:25 2007 New Revision: 507956 URL: http://svn.apache.org/viewvc?view=revrev=507956 Log: Actually, I think this should be a show-stopper, since the current behavior is broke broke broke. I wouldn't call

Re: util_ldap.c use of hardcoded sizelimit on ldap_search_ext_s causing error

2007-02-19 Thread Jeff Trawick
On 2/15/07, David Jones [EMAIL PROTECTED] wrote: Currently util_ldap.c has a hard coded -1 as the search limit value (meaning infinite/no limit) on ldap_search_ext_s() calls. Some platforms cannot handle the -1, but need a 0. Linux, zoS (and others) have a LDAP_NO_LIMIT value in ldap.h. Below

Re: svn commit: r509629 - /httpd/httpd/branches/2.2.x/STATUS

2007-02-20 Thread Jeff Trawick
On 2/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: bnicholes Date: Tue Feb 20 08:23:19 2007 New Revision: 509629 URL: http://svn.apache.org/viewvc?view=revrev=509629 Log: vote Modified: httpd/httpd/branches/2.2.x/STATUS Modified: httpd/httpd/branches/2.2.x/STATUS URL:

Re: svn commit: r512848 - /httpd/httpd/trunk/VERSIONING

2007-02-28 Thread Jeff Trawick
On 2/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: chrisd Date: Wed Feb 28 09:12:06 2007 New Revision: 512848 URL: http://svn.apache.org/viewvc?view=revrev=512848 Log: fix a minor typo Modified: httpd/httpd/trunk/VERSIONING Modified: httpd/httpd/trunk/VERSIONING URL:

Re: Module Crashes if build as a shared object

2007-03-02 Thread Jeff Trawick
On 2/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all One of my apache module crashes if it is used as shared module but works fine if it is build as static module. Watch out for static variable usage in your module. That's a common cause of this type of problem. Static variables

Re: Small patch to ab apr_socket_recv error handling

2007-03-03 Thread Jeff Trawick
On 3/2/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: is the patch below looking good? does it need adjustments? do I need to follow a different process? Filip Filip Hanik - Dev Lists wrote: ok, final patch, this one also adds in Content-Length: 0 when keep alive is used. somehow,

Re: Small patch to ab apr_socket_recv error handling

2007-03-08 Thread Jeff Trawick
On 3/7/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: ok, Jeff's feedback has been incorporated into this patch. Could you post the patch again as an attachment? Some whitespace oddity is making it hard to apply for me. Thanks!

Re: Small patch to ab apr_socket_recv error handling

2007-03-08 Thread Jeff Trawick
On 3/8/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: it is an attachment, chances are your mail reader is expanding it into your viewing window but you can also get it here http://www.hanik.com/fix-ab-recv-error.patch thanks; committed to trunk

Re: CGI app reports broken pipe error

2007-03-14 Thread Jeff Trawick
On 3/14/07, Stas Oskin [EMAIL PROTECTED] wrote: Hi. I have a custom CGI application writing binary data to stdout. Recently, probably after some upgrade, I begin receiving write errors with the system error Broken pipe. that should mean that the web client disconnected, and your CGI shouldn't

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-03-16 Thread Jeff Trawick
On 3/16/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Nope - it won't. Where does z/OS define the crypt() prototype? unistd.h is the common place, z/OS or not. http://www.opengroup.org/onlinepubs/007908799/xsh/crypt.html Apparently crypt_r() is often defined in crypt.h but not in

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-03-16 Thread Jeff Trawick
On 3/16/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Jeff Trawick wrote: APR doesn't pretend to figure out for APR apps exactly what the system provides, though there is currently a spotty set of APR_HAS_foo. Meanwhile, httpd goes and searches on its own for things APR doesn't tell

Re: [RFC] Guide to writing output filters

2007-03-17 Thread Jeff Trawick
On 3/16/07, Joe Orton [EMAIL PROTECTED] wrote: http://people.apache.org/~jorton/output-filters.html I guess I'm confused about the up/down direction convention for output filters? I thought passing the next output filter is down and returning to the prior input filter is up? a few examples:

Re: internal dummy connection again

2007-03-17 Thread Jeff Trawick
On 3/16/07, Karl Chen [EMAIL PROTECTED] wrote: On 2007-03-05 13:24 PST, Joe Orton writes: Joe On Mon, Mar 05, 2007 at 09:33:56PM +0100, Ruediger Pluem wrote: On 03/03/2007 05:47 AM, Karl Chen wrote: present. Also other issues like noise in the log file. I've also seen

Re: mod_cgid and accept() loop

2007-03-18 Thread Jeff Trawick
On 3/17/07, Amol Dev [EMAIL PROTECTED] wrote: After running the Apache-2.0.58 server on mod_cgid on HPUX B.11.23 PA for 3-4 days all of sudden I see the following errors in error_log. [Fri Mar 16 07:23:53 2007] [error] (231)Software caused connection abort: Error accepting on cgid socket

Re: mod_cgid and accept() loop

2007-03-19 Thread Jeff Trawick
On 3/18/07, Amol Dev [EMAIL PROTECTED] wrote: Just have to make sure the daemon will be relaunched taking on requests without problem if that happens. Yes (not tested exactly like that however). Certainly the cgid daemon would be relaunched if it crashed.

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-03-20 Thread Jeff Trawick
On 3/20/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: httpd does not ;-) httpd the project (vs. apr, apr-util), not httpd the program (vs. htdbm, htpasswd) as in In httpd, we don't call crypt(), we call APR...

Re: svn commit: r518938 - /httpd/httpd/trunk/modules/proxy/mod_proxy_ajp.c

2007-03-22 Thread Jeff Trawick
On 3/22/07, Jean-Frederic [EMAIL PROTECTED] wrote: I have ported it to httpd-2.2.x should I commit it? propose in 2.2.x/STATUS; await approval

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-04-04 Thread Jeff Trawick
On 3/23/07, David Jones [EMAIL PROTECTED] wrote: ok here's the simple patch at the 2.0.x level that just checks platforms for htdbm.c Can you post a post to htdbm.c at trunk?

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-04-04 Thread Jeff Trawick
On 4/4/07, Jeff Trawick [EMAIL PROTECTED] wrote: On 3/23/07, David Jones [EMAIL PROTECTED] wrote: ok here's the simple patch at the 2.0.x level that just checks platforms for htdbm.c Can you post a post to htdbm.c at trunk? whoops, make that Can you post a PATCH...

Re: ProxyErrorOverride and redirects (PR 39245)

2007-04-09 Thread Jeff Trawick
On 4/5/07, Nick Kew [EMAIL PROTECTED] wrote: On Thu, 5 Apr 2007 10:04:19 +0100 Joe Orton [EMAIL PROTECTED] wrote: I agree that the intended behaviour of the original code was intuitively correct, only = 400 errors should be overriden, A redirection page is likely to include a redirected

Re: PATCH: support utilities should enable crypt() , current htdbm checks broken

2007-04-09 Thread Jeff Trawick
On 4/9/07, David Jones [EMAIL PROTECTED] wrote: patch for trunk: thanks; committed I'll propose for backport to 2.2.x shortly.

Re: ProxyErrorOverride and redirects (PR 39245)

2007-04-12 Thread Jeff Trawick
On 4/9/07, Nick Kew [EMAIL PROTECTED] wrote: On Mon, 9 Apr 2007 11:08:55 -0400 Jeff Trawick [EMAIL PROTECTED] wrote: On 4/5/07, Nick Kew [EMAIL PROTECTED] wrote: On Thu, 5 Apr 2007 10:04:19 +0100 Joe Orton [EMAIL PROTECTED] wrote: I agree that the intended behaviour of the original

Re: svn commit: r527969 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_proxy.xml modules/proxy/mod_proxy_http.c

2007-04-12 Thread Jeff Trawick
On 4/12/07, Ruediger Pluem [EMAIL PROTECTED] wrote: On 04/12/2007 05:07 PM, [EMAIL PROTECTED] wrote: Author: trawick Date: Thu Apr 12 08:07:11 2007 New Revision: 527969 URL: http://svn.apache.org/viewvc?view=revrev=527969 Log: HTTP proxy ProxyErrorOverride: Leave 1xx and 3xx responses

Re: RFE -- external overload procedure

2007-04-20 Thread Jeff Trawick
On 4/20/07, Juerg Umhang [EMAIL PROTECTED] wrote: hello please consider this posting as a request for enhancement httpd knows about his overload situation. [error] server reached MaxClients setting, consider raising the MaxClients setting this overload is easily created by an external

Re: Apache 2.0.58 on i5/OS question

2007-05-03 Thread Jeff Trawick
On 5/3/07, Henri Gomez [EMAIL PROTECTED] wrote: While working on porting latest mod_jk on i5/OS V5R4, I see on this platform a different behaviour than on stock Apache 2.0.x implementations. One way to look at it: You're working with an IBM product based on Apache, not Apache itself. Nobody

Re: [vote] Piped loggers and APR_SHELLCMD_ENV

2007-05-24 Thread Jeff Trawick
On 5/23/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: While I'm working on a solution to permit cmd.exe to be launched from a service process within Win32, I'm still struck by the inefficiency here and feel we need to resolve the core issue. Regarding the inefficiency, it doesn't seem to

have any DAV-savants seen PR 42896 dav_method_put deletes entire file when PUT with content-range fails

2007-07-16 Thread Jeff Trawick
(http://issues.apache.org/bugzilla/show_bug.cgi?id=42896) Someone pinged me about this PR thinking I might have a cl00, but alas they got rotten results from their intranet search. Does anyone find that PR interesting enough to respond to? Thanks! -- Born in Roswell... married an alien...

Re: svn commit: r549159 - in /httpd/httpd/trunk: CHANGES modules/generators/mod_status.c

2007-07-18 Thread Jeff Trawick
On 6/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jorton Date: Wed Jun 20 10:29:24 2007 New Revision: 549159 URL: http://svn.apache.org/viewvc?view=revrev=549159 Log: Fix CVE-2006-5752: * modules/generators/mod_status.c (status_handler): Specify charset in content-type to prevent

Re: svn commit: r549159 - in /httpd/httpd/trunk: CHANGES modules/generators/mod_status.c

2007-07-18 Thread Jeff Trawick
On 7/18/07, Joe Orton [EMAIL PROTECTED] wrote: On Wed, Jul 18, 2007 at 08:25:59AM -0400, Jeff Trawick wrote: On 6/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jorton Date: Wed Jun 20 10:29:24 2007 New Revision: 549159 URL: http://svn.apache.org/viewvc?view=revrev=549159 Log

Re: svn commit: r556298 - in /httpd/httpd/branches/2.0.x: CHANGES STATUS server/mpm_common.c

2007-07-19 Thread Jeff Trawick
On 7/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: sctemme Date: Sat Jul 14 10:03:18 2007 New Revision: 556298 URL: http://svn.apache.org/viewvc?view=revrev=556298 Log: Backport of 2.0.x PID table problem fix + *) SECURITY: CVE-2007-3304 (cve.mitre.org) + scoreboard pid

Re: svn commit: r556298 - in /httpd/httpd/branches/2.0.x: CHANGES STATUS server/mpm_common.c

2007-07-19 Thread Jeff Trawick
On 7/19/07, Joe Orton [EMAIL PROTECTED] wrote: On Thu, Jul 19, 2007 at 08:30:37AM -0400, Jeff Trawick wrote: On 7/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: sctemme Date: Sat Jul 14 10:03:18 2007 New Revision: 556298 URL: http://svn.apache.org/viewvc?view=revrev=556298 Log

[PATCH] CVE-2006-5752 for 1.3.x

2007-07-20 Thread Jeff Trawick
Index: src/modules/standard/mod_status.c === --- src/modules/standard/mod_status.c (revision 558006) +++ src/modules/standard/mod_status.c (working copy) @@ -221,7 +221,7 @@ if (r-method_number != M_GET) return

Re: [PATCH] CVE-2006-5752 for 1.3.x

2007-07-20 Thread Jeff Trawick
On 7/20/07, Sander Temme [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 7:30 AM, Jeff Trawick wrote: Index: src/modules/standard/mod_status.c +1, it's the same stuff we did for 2.2 in r549159. What about the ap_escape_logitem stuff in that same commit, does that apply to 1.3

Re: [PATCH] CVE-2006-5752 for 1.3.x

2007-07-24 Thread Jeff Trawick
On 7/20/07, Jeff Trawick [EMAIL PROTECTED] wrote: On 7/20/07, Sander Temme [EMAIL PROTECTED] wrote: On Jul 20, 2007, at 7:30 AM, Jeff Trawick wrote: Index: src/modules/standard/mod_status.c +1, it's the same stuff we did for 2.2 in r549159. What about the ap_escape_logitem stuff

Re: x64/x86: Apache http server 2.0.55 is getting installed with some errors, server does not start after installation

2007-08-01 Thread Jeff Trawick
On 7/31/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Hossein Kholdinasab (Siemens Business Services Inc) wrote: Hello, This is a follow up on the email I sent on June 6^th regarding a support status for Apache application on Windows LHS, could you please review this request and if

Re: svn commit: r567091 - in /httpd/httpd/trunk: CHANGES modules/ldap/util_ldap.c

2007-08-17 Thread Jeff Trawick
On 8/17/07, Eric Covener [EMAIL PROTECTED] wrote: On 8/17/07, Jim Jagielski [EMAIL PROTECTED] wrote: Does this change really require a CHANGES entry?? [EMAIL PROTECTED] wrote: Author: covener Date: Fri Aug 17 10:33:11 2007 New Revision: 567091 URL:

Re: svn commit: r567091 - in /httpd/httpd/trunk: CHANGES modules/ldap/util_ldap.c

2007-08-17 Thread Jeff Trawick
On 8/17/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Aug 17, 2007, at 1:46 PM, Eric Covener wrote: On 8/17/07, Jim Jagielski [EMAIL PROTECTED] wrote: Does this change really require a CHANGES entry?? [EMAIL PROTECTED] wrote: Author: covener Date: Fri Aug 17 10:33:11 2007 New

Re: resolving piped logging bugs...

2007-08-20 Thread Jeff Trawick
On 8/20/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Just a quick update; I have windows running again after creating a NUL (/dev/null) association for the parent processes' stdout handle. It solves a regression introduced in r483967 on Windows. D00d!!

Re: svn commit: r571203 - /httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c

2007-08-30 Thread Jeff Trawick
On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: martin Date: Thu Aug 30 08:22:58 2007 New Revision: 571203 URL: http://svn.apache.org/viewvc?rev=571203view=rev Log: Add missing end-of-string checks by using strcmp in place of memcmp memcmp() is not needed when you know the

Re: svn commit: r571203 - /httpd/httpd/branches/2.2.x/modules/proxy/ajp_header.c

2007-08-30 Thread Jeff Trawick
On 8/30/07, Jeff Trawick [EMAIL PROTECTED] wrote: On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: martin Date: Thu Aug 30 08:22:58 2007 New Revision: 571203 URL: http://svn.apache.org/viewvc?rev=571203view=rev Log: Add missing end-of-string checks by using strcmp

Re: Want to kill Apache process when its parent process gets killed.

2007-09-11 Thread Jeff Trawick
On 9/10/07, Ashwani Kumar Sharma [EMAIL PROTECTED] wrote: In my application I am spawning httpd.exe from the parent process. ... My requirement is that: ... In the Abnormal termination of the parent process. The Apache should keep looking for its parent process. If the parent process is not

Re: Want to kill Apache process when its parent process gets killed.

2007-09-11 Thread Jeff Trawick
On 9/11/07, Ashwani Kumar Sharma [EMAIL PROTECTED] wrote: Hi Jeff, Thanks for your reply. The httpd.exe of Apache web server has two processes running in windows. When we kill the parent httpd.exe the child httpd.exe is still running and listening to the web request. I don't want this.

Re: [PATCH 43415] Logging remote port.

2007-09-23 Thread Jeff Trawick
On 9/18/07, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Adam Hasselbalch Hansen Gesendet: Dienstag, 18. September 2007 12:25 An: dev@httpd.apache.org Betreff: [PATCH 43415] Logging remote port. I have created a patch for httpd 2.2.6,

Re: [PATCH 43415] Logging remote port.

2007-09-24 Thread Jeff Trawick
On 9/24/07, Ruediger Pluem [EMAIL PROTECTED] wrote: On 09/23/2007 10:49 PM, Jeff Trawick wrote: On 9/18/07, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Adam Hasselbalch Hansen Gesendet: Dienstag, 18. September 2007 12:25 An: dev

Re: [PATCH 43415] Logging remote port.

2007-09-24 Thread Jeff Trawick
On 9/24/07, Jeff Trawick [EMAIL PROTECTED] wrote: On 9/24/07, Ruediger Pluem [EMAIL PROTECTED] wrote: On 09/23/2007 10:49 PM, Jeff Trawick wrote: On 9/18/07, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Adam Hasselbalch Hansen

Re: [PATCH 43415] Logging remote port.

2007-09-24 Thread Jeff Trawick
On 9/24/07, Ruediger Pluem [EMAIL PROTECTED] wrote: On 09/24/2007 02:04 PM, Jeff Trawick wrote: On 9/24/07, Ruediger Pluem [EMAIL PROTECTED] wrote: On 09/23/2007 10:49 PM, Jeff Trawick wrote: On 9/18/07, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht

Re: As we contemplate what to fix, and how to roll out 2.4 and 3.0

2007-10-02 Thread Jeff Trawick
On 10/2/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 1, 2007, at 6:52 PM, William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: Give that some thought :) One thing I'm pondering is a 2.3.0 alpha in the near future. If only to give the we stay back at version n.x-1 crowd

Re: mod_substitute in 2.2's experimental?

2007-10-08 Thread Jeff Trawick
On 10/8/07, Jim Jagielski [EMAIL PROTECTED] wrote: Thoughts on adding mod_substitute to 2.2.x under experimental? if in 2.2.x at all, why not in the normal modules directory? is it really experimental, or is experimental considered a political compromise, or is there something else I'm not

Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)

2007-10-09 Thread Jeff Trawick
On 10/9/07, Renu Tiwari [EMAIL PROTECTED] wrote: We are facing an issue in dynamically loading the thirdparty module to Apache2.0.61 server. Error shown in error_logs of Apache server is *Error from DSOLoadLibrary - Not enough space.* That's not an Apache message, FWIW. I can't find a

Re: Error from DSOLoadLibrary in Apache2.0.61(64 bit) on AIX 5.3(64 bit)

2007-10-09 Thread Jeff Trawick
On 10/9/07, Renu Tiwari [EMAIL PROTECTED] wrote: Hi Thanks for the reply. Just wanted to confirm one thing. We have build the apache 2.0.61 source on AIX 5.2(64 bit) and than placed the resultant Apache folder structure to AIX5.3(64 bit) m/c. Can this cause some kind of discrepencies?

[PATCH] fix 1.3's ap_proxy_date_canon error handling

2007-10-22 Thread Jeff Trawick
like 2.0/2.2/trunk I'm looking for a conceptual +1 out there. I've barely tested it and need to summarize the diffs between ap_ and apr_ functions again. (e.g., apr_date_parse_http supports format XXX that ap_parseHTTPdate() doesn't support, but ap_proxy_date_canon() didn't allow that before

Re: [PATCH] fix 1.3's ap_proxy_date_canon error handling

2007-10-23 Thread Jeff Trawick
On 10/23/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 22, 2007, at 7:20 PM, Jeff Trawick wrote: like 2.0/2.2/trunk I'm looking for a conceptual +1 out there. You got it. Conceptual +1 :) Thanks ;) Kind of silly I realize, but I wanted to make sure that if I spend more time

1.3 pid table changes vs. uptime?

2007-10-23 Thread Jeff Trawick
With 1.3.39, typically 16 bytes are lost forever in the parent process at child process creation with the ap_table_set(). Did anyone work through a rationalization of this? Perhaps we could say that 8MB is the amount by which the size of the parent could grow in three months before causing undue

Re: 1.3 pid table changes vs. uptime?

2007-10-24 Thread Jeff Trawick
On 10/24/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 24, 2007, at 8:54 AM, Jim Jagielski wrote: On Oct 23, 2007, at 7:34 PM, Jeff Trawick wrote: Alternative opinions? Alternative implementations are welcomed. Certainly one trade-off would be speed over space; having

Re: 1.3 pid table changes vs. uptime?

2007-10-24 Thread Jeff Trawick
On 10/24/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 24, 2007, at 10:20 AM, Jim Jagielski wrote: Looking at the below... testing as we speak: Testing past and placed it on a test server which gets hit with goodly amounts of traffic. So far, so good :) The patch looks fine to me,

Re: [PATCH] fix 1.3's ap_proxy_date_canon error handling

2007-10-24 Thread Jeff Trawick
On 10/22/07, Jeff Trawick [EMAIL PROTECTED] wrote: like 2.0/2.2/trunk attached is an updated patch for the boil-the-ocean flavor; at the bottom is a tiny alternative some ways to slice through the big patch: 1. my BIG 1.3 patch vs. the 2.0 commit essentially same changes except for s

Re: 1.3 pid table changes vs. uptime?

2007-10-24 Thread Jeff Trawick
On 10/24/07, Jeff Trawick [EMAIL PROTECTED] wrote: On 10/24/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 24, 2007, at 10:20 AM, Jim Jagielski wrote: Looking at the below... testing as we speak: Testing past and placed it on a test server which gets hit with goodly amounts

bogus Bad pid (%d) in scoreboard slot %d messages when restarting 1.3

2007-10-25 Thread Jeff Trawick
I think this is the problem: When a child is reaped normally after exiting due to MaxSpareServers or MaxRequestsPerChild, it remains in the scoreboard with status set to SERVER_DEAD, and it is removed from the pid table. Often that slot will be reused by a child created subsequently. If it is

Re: bogus Bad pid (%d) in scoreboard slot %d messages when restarting 1.3

2007-10-26 Thread Jeff Trawick
On 10/25/07, Jim Jagielski [EMAIL PROTECTED] wrote: On Oct 25, 2007, at 11:00 AM, Jeff Trawick wrote: I think this is the problem: When a child is reaped normally after exiting due to MaxSpareServers or MaxRequestsPerChild, it remains in the scoreboard with status set to SERVER_DEAD

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

2007-10-29 Thread Jeff Trawick
On 10/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jim Date: Mon Oct 29 05:42:13 2007 New Revision: 589602 URL: http://svn.apache.org/viewvc?rev=589602view=rev Log: When setting status to SERVER_DEAD, reset pid as well. Modified:

Re: svn commit: r592761 - /httpd/httpd/branches/2.2.x/STATUS

2007-11-08 Thread Jeff Trawick
On Nov 7, 2007 4:21 PM, Nick Kew [EMAIL PROTECTED] wrote: On Wed, 07 Nov 2007 14:34:10 - [EMAIL PROTECTED] wrote: Author: trawick Date: Wed Nov 7 06:34:09 2007 New Revision: 592761 URL: http://svn.apache.org/viewvc?rev=592761view=rev Log: one commit to address multiple

Re: svn commit: r593778 - /httpd/httpd/branches/2.2.x/STATUS

2007-11-10 Thread Jeff Trawick
On Nov 10, 2007 9:14 AM, Nick Kew [EMAIL PROTECTED] wrote: On Sat, 10 Nov 2007 14:00:16 - [EMAIL PROTECTED] wrote: + * mod_charset_lite: Remove Content-Length when output filter can + invalidate it. Warn when input filter can invalidate it. + trunk: +

Re: svn commit: r593778 - /httpd/httpd/branches/2.2.x/STATUS

2007-11-11 Thread Jeff Trawick
On Nov 11, 2007 7:44 AM, Nick Kew [EMAIL PROTECTED] wrote: On Sat, 10 Nov 2007 21:08:37 -0500 Jeff Trawick [EMAIL PROTECTED] wrote: As you note, that's a non-fix for the input filter. Unsetting content-length for input should move to the find_code_page function (on a fixup hook

Re: Please just apply my one-liner fix to bug #42035 and be done with it, no?

2007-11-12 Thread Jeff Trawick
On Nov 12, 2007 8:22 AM, Dominique Quatravaux [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Orton just closed #42035 with status fixed while posting this enigmatic comment at http://issues.apache.org/bugzilla/show_bug.cgi?id=42035#c4: Backport status needs to

Re: Please just apply my one-liner fix to bug #42035 and be done with it, no?

2007-11-12 Thread Jeff Trawick
On Nov 12, 2007 6:47 PM, Jeff Trawick [EMAIL PROTECTED] wrote: I'll see that your fix is proposed for backport to 2.0.x, and developers will have a chance to approve it. http://svn.apache.org/viewvc?rev=594358view=rev

keepalive connections and exiting MPM processes

2007-11-13 Thread Jeff Trawick
When the MPM process handling the connection is or will be exiting, we can incorrectly tell the client that the connection will be held open after the current request. This can result in user intervention (retry the POST?) or failures for some requests sent subsequently on that connection. The

Re: keepalive connections and exiting MPM processes

2007-11-13 Thread Jeff Trawick
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 connections and exiting MPM processes When the MPM process

[1.3 PATCH] another fix for Bad pid ... in scoreboard ... message

2007-11-14 Thread Jeff Trawick
The last fix had a simple mistake: Good logic was inadvertently trapped inside if (ap_extended_status), so a bunch of Bad pid messages could show up at termination for folks with the default (off) setting for ExtendedStatus. Proposed fix: Index: src/main/http_main.c

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: svn commit: r596698 - in /httpd/httpd/trunk: CHANGES support/rotatelogs.c

2007-11-20 Thread Jeff Trawick
On Nov 20, 2007 9:46 AM, [EMAIL PROTECTED] wrote: Author: trawick Date: Tue Nov 20 06:46:52 2007 New Revision: 596698 URL: http://svn.apache.org/viewvc?rev=596698view=rev Log: improve command-line parsing This is a first pass to identifying some parameter combinations that shouldn't be or

Re: svn commit: r595954 - /httpd/httpd/trunk/modules/http/http_filters.c

2007-11-26 Thread Jeff Trawick
On Nov 17, 2007 9:36 AM, [EMAIL PROTECTED] wrote: Author: niq Date: Sat Nov 17 06:36:58 2007 New Revision: 595954 URL: http://svn.apache.org/viewvc?rev=595954view=rev Log: Safer fix to PR43882 than in r595672. Modified: httpd/httpd/trunk/modules/http/http_filters.c Modified:

Re: svn commit: r595954 - /httpd/httpd/trunk/modules/http/http_filters.c

2007-11-26 Thread Jeff Trawick
On Nov 26, 2007 11:50 AM, Nick Kew [EMAIL PROTECTED] wrote: On Mon, 26 Nov 2007 10:38:28 -0500 Jeff Trawick [EMAIL PROTECTED] wrote: What is the intention for the UNHANDLED case?The code/comments seem to imply we'll end up in the respect CL path. Exactly. Cool; we're in sync so far

memory leak in 2.2.x balancer?

2007-11-27 Thread Jeff Trawick
looks like a leak to me; what do you think? Index: modules/proxy/mod_proxy_balancer.c === --- modules/proxy/mod_proxy_balancer.c (revision 598305) +++ modules/proxy/mod_proxy_balancer.c (working copy) @@ -654,7 +654,7 @@

Re: memory leak in 2.2.x balancer?

2007-11-27 Thread Jeff Trawick
On Nov 27, 2007 8:47 AM, Plüm, Rüdiger, VF-Group [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Von: Jeff Trawick Gesendet: Dienstag, 27. November 2007 14:21 An: dev@httpd.apache.org Betreff: memory leak in 2.2.x balancer? looks like a leak to me; what do you think

[PATCH] axe ancient BIG_SECURITY_HOLE message

2007-11-29 Thread Jeff Trawick
If you should conceivably use that hack, you already know about it. Logging spits out \t and \n literally anyway so message looks horrible. Practically all users seeing this message just need to change User and get on with life. -- Born in Roswell... married an alien... Index: os/unix/unixd.c

Re: [PATCH] axe ancient BIG_SECURITY_HOLE message

2007-11-29 Thread Jeff Trawick
On Nov 29, 2007 8:36 AM, Jeff Trawick [EMAIL PROTECTED] wrote: If you should conceivably use that hack, you already know about it. Logging spits out \t and \n literally anyway so message looks horrible. Practically all users seeing this message just need to change User and get on with life

Re: [PATCH] Case insensitive username matching for WIN32 and BS2000 (and OS2?)

2007-12-04 Thread Jeff Trawick
On Dec 4, 2007 11:54 AM, Guenter Knauf [EMAIL PROTECTED] wrote: Hi Martin, The usernames in WIN32 are, IIRC , case insensitive (and they are in BS2000, and perhaps in OS2?). when authenticating against system accounts then NetWare is insensitive too. Some of the username auth code uses

Re: [PROPOSAL] introduce a global define for including unixd.h

2007-12-08 Thread Jeff Trawick
On Dec 7, 2007 2:43 PM, Guenter Knauf [EMAIL PROTECTED] wrote: Hi, I came a couple of times already over the ifdefs to avoid the inclusion of unixd.h; also many 3rd party modules have this problem; therefore I would like to see a global define somewhere for that, f.e. AP(R?)_NEEDS_UNIXD_H

Re: proxy returning apr_status_t to handler?

2007-12-17 Thread Jeff Trawick
On Dec 17, 2007 10:27 AM, Nick Kew [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 10:22:02 -0500 Eric Covener [EMAIL PROTECTED] wrote: Thanks; Any particular concerns about the generic fix for 2.0.x? Haven't looked, but if it applies cleanly, then +1 on doing so. same here

Re: proxy returning apr_status_t to handler?

2007-12-17 Thread Jeff Trawick
On Dec 7, 2007 5:55 PM, Eric Covener [EMAIL PROTECTED] wrote: The particular instance I'm looking at is during the write of the post body. In this case I assume HTTP_BAD_GATEWAY should be returned from proxy_http instead of the status returned from pass_brigade? I'd guess

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