Re: Apache::Test v1.25 error - Can't use string (Test::Builder) as a HASH ref

2005-06-29 Thread Stas Bekman
Geoffrey Young wrote: Now, this looks like a bug. The T::B-reset method expects an object, Apache::Test calls it as a class method. I allow for the possibility that I've completely misunderstood everything--or even just some things. well, it's not exactly a bug - it looks like Test::Builder

Re: Apache::Test v1.25 error - Can't use string (Test::Builder) as a HASH ref

2005-06-29 Thread Geoffrey Young
Stas Bekman wrote: Geoffrey Young wrote: Now, this looks like a bug. The T::B-reset method expects an object, Apache::Test calls it as a class method. I allow for the possibility that I've completely misunderstood everything--or even just some things. well, it's not exactly a bug - it looks

Re: Apache::Test v1.25 error - Can't use string (Test::Builder) as a HASH ref

2005-06-29 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: Geoffrey Young wrote: Now, this looks like a bug. The T::B-reset method expects an object, Apache::Test calls it as a class method. I allow for the possibility that I've completely misunderstood everything--or even just some things. well, it's

Re: mod_smtpd project planning

2005-06-29 Thread Luo Gang
=== 2005-06-29 Paul Querna writes === So, to accommodate this, we would need a mod_smtpd space in subversion and a [EMAIL PROTECTED] mailing list. +1. a mod_smtpd space is good. But I am not sure people would be interested much in a planing project now, the main [EMAIL PROTECTED] list

Re: mod_smtpd project planning

2005-06-29 Thread Paul A Houle
Paul Querna wrote: As some of you might be aware, one of the Summer of Code Projects is an SMTP protocol module for httpd 2.x. Huh?

Re: Monitoring HTTP error logs

2005-06-29 Thread Ian Holsman
Henri Gomez wrote: Hi to all, Did you know a tools on Unix/Linux system, which should be able to monitor in real-time the error_log of Apache2 servers and for example, send email/syslog message when a [error] string is detected ? Regards and thanks for your help look for a tool called

Re: mod_smtpd project planning

2005-06-29 Thread Ian Holsman
Roy T. Fielding wrote: On Jun 28, 2005, at 4:20 PM, Paul Querna wrote: So, to accommodate this, we would need a mod_smtpd space in subversion and a [EMAIL PROTECTED] mailing list. -1. The point of SoC is to get more people involved in open source projects, not to encourage the ASF to

how do i debug a segfault?

2005-06-29 Thread Paul A Houle
This weekend we had the kind of experience with Apache httpd which we expect from Microsoft IIS or Tomcat. We're running a self-compiled 2.0.54 on RHEL 4 on x86_64 on a 4-way machine. Our server got kicked around midnight to rotate logs, but around 5AM we started getting a large

Re: how do i debug a segfault?

2005-06-29 Thread Paul Querna
Paul A Houle wrote: This weekend we had the kind of experience with Apache httpd which we expect from Microsoft IIS or Tomcat. We're running a self-compiled 2.0.54 on RHEL 4 on x86_64 on a 4-way machine. Our server got kicked around midnight to rotate logs, but around 5AM we

Re: how do i debug a segfault?

2005-06-29 Thread Akins, Brian
On 6/29/05 11:40 AM, Paul A Houle [EMAIL PROTECTED] wrote: [Tue Jun 28 14:45:53 2005] [notice] child pid 28182 exit signal Segmentation fault (11) Sorry if I missed it, which mpm are you using? Basically before you start apache do: ulimit -c unlimited Set CoreDumpDirectory to so directory

Re: how do i debug a segfault?

2005-06-29 Thread Joshua Slive
Akins, Brian wrote: On 6/29/05 11:40 AM, Paul A Houle [EMAIL PROTECTED] wrote: [Tue Jun 28 14:45:53 2005] [notice] child pid 28182 exit signal Segmentation fault (11) Sorry if I missed it, which mpm are you using? Basically before you start apache do: ulimit -c unlimited [...] Would

Re: how do i debug a segfault?

2005-06-29 Thread ed elliott
If you think it is usefull I could do a version of this (and this page http://httpd.apache.org/dev/debugging.html) using the free "ms debugging tools for windows" for win32 users? edJoshua Slive [EMAIL PROTECTED] wrote: Akins, Brian wrote: On 6/29/05 11:40 AM, "Paul A Houle" <[EMAIL

Re: how do i debug a segfault?

2005-06-29 Thread Paul Querna
ed elliott wrote: If you think it is usefull I could do a version of this (and this page http://httpd.apache.org/dev/debugging.html ) using the free ms debugging tools for windows for win32 users? ed Yes, that would be awesome. -Paul */Joshua Slive [EMAIL PROTECTED]/* wrote:

Re: how do i debug a segfault?

2005-06-29 Thread ed elliott
cool I'll get onto it and send it on probably next week some time.Paul Querna [EMAIL PROTECTED] wrote: ed elliott wrote: If you think it is usefull I could do a version of this (and this page http://httpd.apache.org/dev/debugging.html ) using the free "ms debugging tools for windows" for win32

Re: how do i debug a segfault?

2005-06-29 Thread Paul A Houle
Akins, Brian wrote: Sorry if I missed it, which mpm are you using? prefork

Re: how do i debug a segfault?

2005-06-29 Thread William A. Rowe, Jr.
At 12:13 PM 6/29/2005, ed elliott wrote: If you think it is usefull I could do a version of this (and this page http://httpd.apache.org/dev/debugging.htmlhttp://httpd.apache.org/dev/debugging.html ) using the free ms debugging tools for windows for win32 users? YES!!! I'm happy to commit that

Re: how do i debug a segfault?

2005-06-29 Thread Akins, Brian
On 6/29/05 1:39 PM, Paul A Houle [EMAIL PROTECTED] wrote: Akins, Brian wrote: Sorry if I missed it, which mpm are you using? prefork For prefork, just follow the directions I gave and forget all the thread stuff. -- Brian Akins Lead Systems Engineer CNN Internet

Re: protocol handler holding a connection patch

2005-06-29 Thread Paul Querna
Joey Ekstrom wrote: I sent an email to the list a little over a week ago about adding the ability for a protocol handler to keep a TCP connection open for notifications, but then free in the worker thread back to MPM. No one responded, so I have created a basic patch to allow this, and patched

apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
Hello, Just have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=35535 I need feedback about using my mmap design (something lost ? somethings maybe added ?). This design will be very useful for the new shm design. I have a local copy of my own shm (the copyright is handled by my

Re: mod_smtpd project planning

2005-06-29 Thread Roy T . Fielding
On Jun 29, 2005, at 6:09 AM, Ian Holsman wrote: and where do we put the code? Wherever you want the code to be, so long as it isn't released until you get three binding +1s. This isn't the first time that new people working on httpd-related projects have been given limited commit access. I

Kind of a development task....

2005-06-29 Thread NormW
Greetings All, Is there a reason the Apache 2.1 comes with a Powered By 2.0 Logo, or is that update being held over until the release of 2.2 perhaps? Regards, Norm

Problem with Apache::Cookie destroys Set-Cookie header (fwd)

2005-06-29 Thread Randy Kobes
This is a forwarded message from someone with a problem with Apache::Cookie of mod_perl-1 but who cannot subscribe easily to the mailing list. If anyone has seen this and/or knows what the problem is, could you include [EMAIL PROTECTED] in the reply? Thanks. best regards, randy --

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
Hi Bruce, Yes because you must align the page to the biggest you can. Have a look at : http://badcode.be/~descript/.apache/ Into function apr_mem_pager() : if you need 0x2001 (Size). snip ret = size; // ret = 0x2001 if((ret%_apr_mem_page_size) != 0) { // 0x0001

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
Bruce, snip ret = size; // ret = 0x2001 if((ret%_apr_mem_page_size) != 0) { // 0x0001 ret -= (ret%_apr_mem_page_size); // ret -= 0x0001 = 0x2000 ret += _apr_mem_page_size*map-pager; // ret += 0x1000*PAGER } // ret = 0x3000 :P /snip

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
You may know that the strlen() function computes the length of the string *without the \0 char ! Example : if buffer = A[...]AAA = 0x2001 buffer_size = strlen(buffer) = 0x2000. apr_mem_remap(Map, buffer_size+1) = will map 0x3000 see apr_mem_pager(). memcpy(Map-base, buffer, buffer_size);

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
Yes it's possible, my shm model do that by auto extending the file and memory via write function. When you use private (with/without anon) map you can set the segment size you want. The extending problem occur because Apache can only manage MAP_SHARED. Normaly it should be set to MAP_PRIVATE.

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Bruce Korb
Michael Vergoz wrote: Bruce, snip ret = size; // ret = 0x2001 if((ret%_apr_mem_page_size) != 0) { // 0x0001 ret -= (ret%_apr_mem_page_size); // ret -= 0x0001 = 0x2000 ret += _apr_mem_page_size*map-pager; // ret += 0x1000*PAGER }

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Bruce Korb
Michael Vergoz wrote: Hi Bruce, Yes Thank you! because you must align the page to the biggest you can. ?? The problem is is that no matter how you align the thing, if the last byte of the file is the last byte of a page, then the next byte is unmapped. Consequently, when strlen(3C) tries

Re: mod_smtpd project planning

2005-06-29 Thread Justin Erenkrantz
On Wed, Jun 29, 2005 at 02:39:43PM -0700, Roy Fielding wrote: The dev list needs some new blood (and new ideas) and these folks aren't going to learn anything about real Apache development if they are stuck out in the suburbs. ++1. -- justin

[STATUS] (httpd-2.1) Wed Jun 29 23:46:11 2005

2005-06-29 Thread Rodent of Unusual Size
APACHE 2.1 STATUS: -*-text-*- Last modified at [$Date: 2005-06-24 12:52:54 -0400 (Fri, 24 Jun 2005) $] The current version of this file can be found at: * http://svn.apache.org/repos/asf/httpd/httpd/trunk/STATUS Documentation status is maintained

[STATUS] (httpd-test: perl-framework) Wed Jun 29 23:46:30 2005

2005-06-29 Thread Rodent of Unusual Size
httpd-test/perl-framework STATUS: -*-text-*- Last modified at [$Date: 2004-11-24 19:36:41 -0500 (Wed, 24 Nov 2004) $] Stuff to do: * finish the t/TEST exit code issue (ORed with 0x2C if framework failed) * change existing tests that frob the

[STATUS] (httpd-test: flood) Wed Jun 29 23:46:24 2005

2005-06-29 Thread Rodent of Unusual Size
flood STATUS: -*-text-*- Last modified at [$Date: 2004-11-24 19:36:41 -0500 (Wed, 24 Nov 2004) $] Release: 1.0: Released July 23, 2002 milestone-03: Tagged January 16, 2002 ASF-transfer: Released July 17, 2001

[STATUS] (httpd-2.0) Wed Jun 29 23:46:02 2005

2005-06-29 Thread Rodent of Unusual Size
APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2005-06-28 08:01:43 -0400 (Tue, 28 Jun 2005) $] The current version of this file can be found at: * http://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x/STATUS Documentation status is

Re: apr mmap/ shm/ problem.

2005-06-29 Thread Michael Vergoz
Le Jeudi 30 Juin 2005 00:42, Bruce Korb a écrit : Michael Vergoz wrote: Bruce, snip ret = size; // ret = 0x2001 if((ret%_apr_mem_page_size) != 0) { // 0x0001 ret -= (ret%_apr_mem_page_size); // ret -= 0x0001 = 0x2000 ret +=

Re: mod_smtpd project planning

2005-06-29 Thread rian
Roy T. Fielding wrote: This isn't the first time that new people working on httpd-related projects have been given limited commit access. I don't give a rat's ass whether they finish their assigned projects or not. What I want them to do is become part of our community long enough to figure out

Re: mod_smtpd project planning

2005-06-29 Thread Jem Berkes
As one of the students I can definitely appreciate that! To everyone managing SoC: about how long until our svn accounts are activated? I know there are a lot details being worked out still, but I still feel a little in the dark. Hi all, I'm another student working on mod_smtpd Been