Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Greg Stein
This was only done on the branch as a mean to get 2.0.44 out the door *now* rather than continuing to wait for just that one additional fix The head (2.1-dev) still has the original code. -g On Tue, Jan 07, 2003 at 03:50:26PM -0800, Justin Erenkrantz wrote: --On Tuesday, January 07, 2003

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: --On Tuesday, January 07, 2003 22:02:19 + [EMAIL PROTECTED] wrote: gregames2003/01/07 14:02:19 Modified:.Tag: APACHE_2_0_BRANCH CHANGES configure.in Log: switch back to using srclib/apr/build for AC_CONFIG_AUX_DIR

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Justin Erenkrantz
--On Wednesday, January 8, 2003 7:32 AM -0500 Jeff Trawick [EMAIL PROTECTED] wrote: The problem on 2.0 with this proper fix is that make fails later on if you don't have srclib/apr, so such a change doesn't seem helpful. Details please? -- justin

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: --On Wednesday, January 8, 2003 7:32 AM -0500 Jeff Trawick [EMAIL PROTECTED] wrote: The problem on 2.0 with this proper fix is that make fails later on if you don't have srclib/apr, so such a change doesn't seem helpful. Details please? --

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Justin Erenkrantz
--On Wednesday, January 8, 2003 7:54 AM -0500 Jeff Trawick [EMAIL PROTECTED] wrote: As I posted yesterday, generation of exports.c is busted without srclib/apr and srclib/apr-util. If you can get it to work with just the buildconf change, I'd love to see it. Well, it doesn't work if you don't

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Jeff Trawick
Justin Erenkrantz [EMAIL PROTECTED] writes: --On Wednesday, January 8, 2003 7:54 AM -0500 Jeff Trawick [EMAIL PROTECTED] wrote: As I posted yesterday, generation of exports.c is busted without srclib/apr and srclib/apr-util. If you can get it to work with just the buildconf change,

Showstopper ... was: Tagged the tree

2003-01-08 Thread William A. Rowe, Jr.
At 07:00 PM 1/7/2003, you wrote: Sander Striker wrote: Hi, I tagged the tree with STRIKER_2_0_44_PRE2. The tag consists of APACHE_2_0_BRANCH and apr/apr-util HEAD. If you feel that something should not be in here, please let me know ASAP. What about the change in argument types for the APR

A humle request for help

2003-01-08 Thread Stefan Görling
Hi Everyone, I'm currently working on a thesis investigating how Open Source is affected by the influence of money and the interests of commercial companies. As the Apache httpd efforts is the foundation of many companies it is interesting to study how their entrance to the scene have

Re: cvs commit: httpd-2.0 buildconf

2003-01-08 Thread Philip M. Gollucci
This patch fixes my previous issue Thanks a bundle. Server version: Apache/2.0.44-dev Server built: Jan 8 2003 10:23:20 Server's Module Magic Number: 20020903:0 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D

ap_hook_error_log hook segfault

2003-01-08 Thread Dietz, Phil E.
Can someone explain why the below seg-faults ? I'm writing a module using the error log hook, and for initial testing, am using ap_log_error. I'd assume this should double log everything. #include apr_want.h #include ap_config.h #include mod_log_config.h #include httpd.h #include

Re: Showstopper ... was: Tagged the tree

2003-01-08 Thread Brian Pane
On Wed, 2003-01-08 at 07:15, William A. Rowe, Jr. wrote: Just an observation reviewing the apr/includes/ changes... I don't like the look of this code; +#define apr_atomic_casptr(mem,with,cmp) (void*)atomic_cmpxchg((unsigned long *)(mem),(unsigned long)(cmp),(unsigned long)(with)) Very

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

2003-01-08 Thread Greg Ames
[EMAIL PROTECTED] wrote: gregames2002/12/09 14:19:26 Modified:.CHANGES server core.c Log: core_output_filter: re-instate the deferred_write pool patch so we don't leak fd's until the end of a keepalive connection. Thanks to: Jeff Trawick for the

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

2003-01-08 Thread Cliff Woolley
On Wed, 8 Jan 2003, Greg Ames wrote: Can I get some +1's for moving this into stable (or -1's and reasons not to do so)? - Its one month birthday is tomorrow, - it is certainly in mainline code, and - AFAIK it hasn't caused any problems since the apr_mmap ownership redesign. +1 from here

Re: What is the source of this 'Thundering herd' redux?

2003-01-08 Thread Greg Ames
Steven Roussey wrote: Now, pstack simply segfaults. I've seen that on Red Hat AS 2.x (0? 1?) recently too, but don't know what the solution is :-( Greg

RE: ap_hook_error_log hook segfault

2003-01-08 Thread Dietz, Phil E.
A recursive loop was the problem. ap_log_error() calls log_error_core()...which triggers all ap_hook_error_log() hooks again. I replaced myerror, with a complete copy of log_error_code() -- minus the call to ap_run_error_log() -- and it works fine. Perhaps we should put a blurb in the docs or

Re: What is the source of this 'Thundering herd' redux?

2003-01-08 Thread Greg Ames
Brian Paine wrote: Can you grab a stack trace from each of the httpd processes (e.g., with pstack, or by scripting gdb) to see what they're doing when the load drops to zero? another idea: ps ax0 ppid,wchan | grep httpd ...when it's being bad (i.e. when the load is 0 and it shouldn't be).

FW: cvs commit: httpd-2.0/os/win32 ap_regkey.c util_win32.c

2003-01-08 Thread Bill Stoddard
Sander, This patch is needed in 2.0.44 to fix a compile break. I have already committed it to 2.0 and 2.1 Bill stoddard2003/01/08 11:22:29 Modified:os/win32 Tag: APACHE_2_0_BRANCH ap_regkey.c util_win32.c Log: Fix compile break on Windows due to apr/include/arch/win32/* filename

getsfunc_BRIGADE tries to split a pipe bucket

2003-01-08 Thread Peter Jones
I am trying to trace a problem between mod_cgid and mod_cache. Sorry if this seems like a request for support, but this is too technical for other lists. In 2.0.43 mod_cgid will use apr_bucket_pipe_create so that it can call ap_scan_script_header_err_brigade to remove the script headers from the

Re: cvs commit: httpd-2.0 CHANGES configure.in

2003-01-08 Thread Justin Erenkrantz
--On Wednesday, January 8, 2003 9:43 AM -0500 Jeff Trawick [EMAIL PROTECTED] wrote: I'm sorry for being dense, but please clarify: What patch do you suggest to apply to STRIKER_2_0_44_PRE2, and will the following then work? httpd-2.0/buildconf r1.29. Then, the configure.in patch that was

[PATCH] Avoid busy wait in winnt MPM when all workers are busy

2003-01-08 Thread Igor Nazarenko
The only modification is in ./server/mpm/winnt/child.c That file hasn't changed between 2.0 and 2.1 This is the first time I'm submitting a patch so please tell me if I'm doing something wrong. Igor _ The new MSN 8: smart spam

Re: getsfunc_BRIGADE tries to split a pipe bucket

2003-01-08 Thread Peter Jones
Hey, remember back when Peter Jones said: BTW, I made CACHE_IN run as AP_FTYPE_CONTENT_SET+20 so that it would run as late as possible. Okay, I shot myself in the foot when I had CACHE_IN registered as AP_FTYPE_CONTENT_SET+20, stupid me. It was running after http_header and that is why it saw

Re: [PATCH] getsfunc_BRIGADE tries to split a pipe bucket

2003-01-08 Thread Peter Jones
Hey, remember back when Peter Jones said: Is there a reason that ap_scan_script_header_err_core can't put the Expires header in r-headers_out? Want me to send in a patch? --- server/util_script.c.orig Wed Jan 8 13:33:47 2003 +++ server/util_script.cWed Jan 8 13:33:47 2003 @@ -591,6

Re: cvs commit: httpd-2.0/server/mpm/worker fdqueue.c

2003-01-08 Thread Greg Ames
[EMAIL PROTECTED] wrote: brianp 2003/01/03 10:32:59 Modified:server/mpm/worker fdqueue.c Log: Replace most of the mutex locking in the worker MPM's queue info object with atomic compare-and-swap loops. A nice New Year's present :-) Presumably this gets rid of the

RE: cvs commit: httpd-2.0/os/win32 ap_regkey.c util_win32.c

2003-01-08 Thread Sander Striker
From: Bill Stoddard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 8:33 PM Sander, This patch is needed in 2.0.44 to fix a compile break. I have already committed it to 2.0 and 2.1 Duly noted. Thanks, Sander

Re: cvs commit: httpd-2.0/server/mpm/worker fdqueue.c

2003-01-08 Thread Brian Pane
Greg Ames wrote: +/* Atomically decrement the idle worker count */ +for (;;) { +apr_uint32_t prev_idlers = queue_info-idlers; +if (apr_atomic_cas((queue_info-idlers), prev_idlers - 1, prev_idlers) +== prev_idlers) { +break; +

Re: cvs commit: httpd-docs-1.3/htdocs/manual/howto auth.html

2003-01-08 Thread Rich Bowen
On 8 Jan 2003 [EMAIL PROTECTED] wrote: -$salt = '', map { $chars[int rand @chars] } (0..1); +$salt = $chars[int rand @chars] . $chars[int rand @chars]; That's what I get for trying to be clever with the Perl code. This is not broken just on Perl 5.6.0 and 5.6.1, but won't work anywhere at

Re: cvs commit: httpd-docs-1.3/htdocs/manual/howto auth.html

2003-01-08 Thread Justin Erenkrantz
--On Wednesday, January 08, 2003 18:09:18 -0500 Rich Bowen [EMAIL PROTECTED] wrote: I'm a little confused by the rest of the diff, though, which a dozen other lines being replaced with themselves. What's up with that? Line endings being morphed perhaps? -- justin

[STATUS] (apache-1.3) Wed Jan 8 23:45:12 EST 2003

2003-01-08 Thread Rodent of Unusual Size
APACHE 1.3 STATUS: -*-text-*- Last modified at [$Date: 2002/10/31 05:57:52 $] Release: 1.3.28-dev: In development 1.3.27: Tagged September 30, 2002. Announced Oct 3, 2002. 1.3.26: Tagged June 18, 2002. 1.3.25: Tagged June 17, 2002. Not

[STATUS] (httpd-2.0) Wed Jan 8 23:45:20 EST 2003

2003-01-08 Thread Rodent of Unusual Size
APACHE 2.1 STATUS: -*-text-*- Last modified at [$Date: 2002/12/03 18:26:44 $] Release [NOTE that only Alpha/Beta releases occur in 2.1 development]: 2.1.0 : in development Please consult the following STATUS files for information on related

Proxy stripping Content-Length, Transfer-Encoding

2003-01-08 Thread Graham Leggett
Hi all, In httpd v2.0 mod_proxy, both the Content-Length and Transfer-Encoding headers are stripped from the backend server response before passing it to the frontend: /* We need to copy the output headers and treat them as input * headers as well. BUT, we need to do this before we remove