Re: mod_disk_cache summarization

2006-10-29 Thread Graham Leggett
Henrik Nordstrom wrote: How ETag:s is generated is extremely server dependent, and not guaranteed to be unique across different URLs. You can not at all count on two files having the same ETag but different URLs to be the same file, unless you also is responsible for the server providing all

Re: apr_dbd_mysql for apache2.2

2006-10-29 Thread Joachim Zobel
Am Sonntag, den 29.10.2006, 14:39 +1000 schrieb Mark Constable: *** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev): 0x08278360 *** This is often mention as the dreaded Glibc has from a certain version on treatet double free as a fatal error. I remember lots of apps

Re: mod_cache summary and plan

2006-10-29 Thread Graham Leggett
Davi Arnaut wrote: . Problem: You have described two separate problems below. For a moment forget about file buckets and large files, what's really at stake is proxy/cache brigade management when the arrival rate is too high (e.g. a single 4.7GB file bucket, high-rate input data to be

Re: [Fwd: Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h]

2006-10-29 Thread Graham Leggett
Ruediger Pluem wrote: Apart from this, Paul created a branch a while ago for mod_cache refactoring. As it has turned out the whole thing creates some bigger discussion and patches go in and out. So I think it would be a good idea to do this on a dev branch instead of the trunk. So I propose

Re: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]

2006-10-29 Thread Graham Leggett
Ruediger Pluem wrote: This runs fine - a brigade is created, containing a single bucket. The trouble is, the bucket inside the brigade is corrupt - it's name consists of random bytes, and the pointers to its methods are either Maybe stupid thought, but isn't this bucket the sentinel and

Re: ROADMAP for mod_cache

2006-10-29 Thread Graham Leggett
Davi Arnaut wrote: Graham, could you please summarize the problems we want to solve and the possible solutions and send then to the list ? The cache needs a notifier api, because as Joe pointed out, it cannot be guaranteed that the ap_core_output_filter() will not block. You have one in the

Re: [Fwd: Re: svn commit: r466865 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_authn_dbd.xml modules/aaa/mod_auth.h modules/aaa/mod_authn_dbd.c modules/aaa/mod_authnz_ldap.c]

2006-10-29 Thread Ruediger Pluem
. On 10/29/2006 01:50 PM, Graham Leggett wrote: Ruediger Pluem wrote: Does it really make sense to put this in the same environment namespace? What if we have rows with the same name here and for the password query? Shouldn't the prefix be AUTHN_PREFIX + (USER_|PASSWORD_)? My

Re: [Fwd: Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 01:56 PM, Graham Leggett wrote: Ruediger Pluem wrote: Apart from this, Paul created a branch a while ago for mod_cache refactoring. As it has turned out the whole thing creates some bigger discussion and patches go in and out. So I think it would be a good idea to do this

Re: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 01:59 PM, Graham Leggett wrote: Ruediger Pluem wrote: This runs fine - a brigade is created, containing a single bucket. The trouble is, the bucket inside the brigade is corrupt - it's name consists of random bytes, and the pointers to its methods are either Maybe stupid

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Ruediger Pluem
On 10/28/2006 05:26 PM, Jim Jagielski wrote: Ruediger Pluem wrote: On 10/27/2006 06:20 PM, Jess Holle wrote: On the other hand, if I use: ProxyPass /jsp-examples ajp://localhost:8010/jsp-examples This works fine! I assume I should file a bug against mod_proxy -- or is this a

Re: [Fwd: Re: svn commit: r466865 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_authn_dbd.xml modules/aaa/mod_auth.h modules/aaa/mod_authn_dbd.c modules/aaa/mod_authnz_ldap.c]

2006-10-29 Thread Graham Leggett
Ruediger Pluem wrote: Yes, this is correct. It is set by AuthDBDUserPWQuery. What sql statement would correspond with USER_ above? The one set by AuthDBDUserRealmQuery. It is used inside authn_dbd_realm OK, USER_ might the wrong word, but we definitely have two possible different queries

Re: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]

2006-10-29 Thread Graham Leggett
Ruediger Pluem wrote: Just two curious questions: 1. Did APR_BRIGADE_EMPTY return true on this newly created brigade? No idea, didn't try it. 2. Shouldn't the code take care never to process the sentinel because of the problems you pointed out above (invalid data, especially in the jump

Re: mod_deflate ignores Content-Encoding header

2006-10-29 Thread Sven Köhler
imagine a simple CGI-script: #!/usr/bin/perl print Content-Encoding: identity\n; print Content-Type: text/plain\n; print \n; print test; AFAIK, identity indicates, that no transformation is being done on the content. IMHO, mod_deflate should implement the following logic:

Re: [Fwd: Re: svn commit: r466865 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_authn_dbd.xml modules/aaa/mod_auth.h modules/aaa/mod_authn_dbd.c modules/aaa/mod_authnz_ldap.c]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 03:47 PM, Graham Leggett wrote: Ruediger Pluem wrote: Yes, this is correct. It is set by AuthDBDUserPWQuery. What sql statement would correspond with USER_ above? The one set by AuthDBDUserRealmQuery. It is used inside authn_dbd_realm OK, USER_ might the wrong word,

Re: [Fwd: Re: apr_brigade_create() produces a corrupt brigade]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 03:53 PM, Graham Leggett wrote: Ruediger Pluem wrote: Just two curious questions: 1. Did APR_BRIGADE_EMPTY return true on this newly created brigade? No idea, didn't try it. 2. Shouldn't the code take care never to process the sentinel because of the problems you

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 04:15 PM, Jess Holle wrote: Ruediger Pluem wrote: I guess we should create a directive like DefineWorker (I do not really care about the exact name), that enables the administrator to define / create a worker. That would be really handy for mod_rewrite as in the reverse

Re: mod_cache summary and plan

2006-10-29 Thread Davi Arnaut
Graham Leggett wrote: Davi Arnaut wrote: . Problem: You have described two separate problems below. No, and it's seems you are deeply confused on what buckets and brigades represent. You already committed what ? four fixes to the same problem ? Each time we point your wrong assumptions you

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Jess Holle
Ruediger Pluem wrote: I guess we should create a directive like DefineWorker (I do not really care about the exact name), that enables the administrator to define / create a worker. That would be really handy for mod_rewrite as in the reverse proxy case the number of different backend targets

Re: mod_cache summary and plan

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 04:39 PM, Davi Arnaut wrote: Graham Leggett wrote: Davi Arnaut wrote: . Problem: You have described two separate problems below. No, and it's seems you are deeply confused on what buckets and brigades represent. You already committed what ? four fixes to the same

Re: mod_cache summary and plan

2006-10-29 Thread Davi Arnaut
Ruediger Pluem wrote: On 10/29/2006 04:39 PM, Davi Arnaut wrote: Graham Leggett wrote: Davi Arnaut wrote: . Problem: You have described two separate problems below. No, and it's seems you are deeply confused on what buckets and brigades represent. You already committed what ? four

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Mladen Turk
Ruediger Pluem wrote: I guess we should create a directive like DefineWorker (I do not really care about the exact name), that enables the administrator to define / create a worker. Then you can easily just use Proxy ajp://localhost:8009 ProxySet ... /Proxy It will define a 'known'

Re: mod_cache summary and plan

2006-10-29 Thread Graham Leggett
Davi Arnaut wrote: I've just described that. Maybe my English was poor in the e-mail. Your English is spot on, unfortunately the aggressive nature of your email isn't. You are not going to bully anybody on this list into accepting any patch, it's not how this project works. It is quite

Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Hi all, Trying to move development to my local mac since coding remotely to the only box I could get apache2, mod_perl2 and libapreq2 working is remote, and the connection is terrible. So, I have tried both using source and also with ports, and get the same problem upon trying to load my

Re: mod_cache summary and plan

2006-10-29 Thread Davi Arnaut
Graham Leggett wrote: Davi Arnaut wrote: I've just described that. Maybe my English was poor in the e-mail. Your English is spot on, unfortunately the aggressive nature of your email isn't. You are not going to bully anybody on this list into accepting any patch, it's not how this

Re: mod_cache summary and plan

2006-10-29 Thread Graham Leggett
Davi Arnaut wrote: You are not going to bully anybody on this list into accepting any patch, it's not how this project works. I'm not bulling anyone. This is not a personal attack, it was a public calling for you to adjust the process. Let's not fool ourselves, it was a personal attack.

Re: Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Fred, Ok: I have this failure on 1. OS X 2. Suse 10.0 amd 64 3. Suse 9.3 intel 32 Has anyone addressed this? This is what I would call severely broke. I would prefer not to use CGI. After this week, I think maybe the universe is telling me to learn PHP after all these years of being a perl

Re: Problems with apreq2 on OS X

2006-10-29 Thread Fred Moyer
Patrick Galbraith wrote: Fred, Ok: I have this failure on 1. OS X 2. Suse 10.0 amd 64 3. Suse 9.3 intel 32 Has anyone addressed this? This is what I would call severely broke. I would prefer not to use CGI. After this week, I think maybe the universe is telling me to learn PHP after all

Re: Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Fred Moyer wrote: Patrick Galbraith wrote: Fred, Ok: I have this failure on 1. OS X 2. Suse 10.0 amd 64 3. Suse 9.3 intel 32 Has anyone addressed this? This is what I would call severely broke. I would prefer not to use CGI. After this week, I think maybe the universe is telling me to

Re: mod_cache summary and plan

2006-10-29 Thread Davi Arnaut
Graham Leggett wrote: Davi Arnaut wrote: You are not going to bully anybody on this list into accepting any patch, it's not how this project works. I'm not bulling anyone. This is not a personal attack, it was a public calling for you to adjust the process. Let's not fool ourselves, it

Re: [Fwd: Re: Apache 2.2.3 mod_proxy issue]

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 05:42 PM, Mladen Turk wrote: Ruediger Pluem wrote: I guess we should create a directive like DefineWorker (I do not really care about the exact name), that enables the administrator to define / create a worker. Then you can easily just use Proxy ajp://localhost:8009

[jira] Created: (MODPYTHON-199) Can

2006-10-29 Thread Graham Dumpleton (JIRA)
Can --- Key: MODPYTHON-199 URL: http://issues.apache.org/jira/browse/MODPYTHON-199 Project: mod_python Issue Type: Bug Components: core Affects Versions: 3.2.10 Reporter: Graham Dumpleton Assigned To:

[jira] Deleted: (MODPYTHON-199) Can

2006-10-29 Thread Graham Dumpleton (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-199?page=all ] Graham Dumpleton deleted MODPYTHON-199: --- Can --- Key: MODPYTHON-199 URL: http://issues.apache.org/jira/browse/MODPYTHON-199 Project:

[jira] Created: (MODPYTHON-200) Can't use signed and marshalled cookies together.

2006-10-29 Thread Graham Dumpleton (JIRA)
Can't use signed and marshalled cookies together. - Key: MODPYTHON-200 URL: http://issues.apache.org/jira/browse/MODPYTHON-200 Project: mod_python Issue Type: Bug Components: core

Re: Problems with apreq2 on OS X

2006-10-29 Thread Dave Viner
this might be a dumb question, but have you checked that the apreq module is loaded? LoadModule apreq_modulemodules/mod_apreq2.so ? dave On Oct 29, 2006, at 12:23 PM, Patrick Galbraith wrote: Fred Moyer wrote: Patrick Galbraith wrote: Fred, Ok: I have this failure on 1. OS X 2.

[jira] Work started: (MODPYTHON-200) Can't use signed and marshalled cookies together.

2006-10-29 Thread Graham Dumpleton (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-200?page=all ] Work on MODPYTHON-200 started by Graham Dumpleton. Can't use signed and marshalled cookies together. - Key: MODPYTHON-200 URL:

mod_cache and its ilk

2006-10-29 Thread Roy T. Fielding
As far as mod_*cache is concerned, we should work out the technical definition of what those modules are supposed to be doing and just stick with one direction on trunk. Once that decision is made, folks can veto code on the basis of technical concerns (such as, that module should be for small

Re: AW: mod_deflate and flush?

2006-10-29 Thread Ruediger Pluem
On 10/25/2006 04:46 PM, Sven Köhler wrote: Hi, JSP (via mod_jk) and maybe other plugins sometimes flush the connection, so that the browsers receive everything that's stuck in some internal buffer. Here's a quote from mod_jk's docs: JkOptions +FlushPackets JkOptions FlushPackets, you ask

Re: AW: mod_deflate and flush?

2006-10-29 Thread Nick Kew
On Sun, 2006-10-29 at 23:21 +0100, Ruediger Pluem wrote: Backport to 2.2.x ? I'm still using 2.0.x - LOL. Have you tried to apply the patches for 2.2.x to 2.0.x? I haven't tried so, but I think mod_deflate has not changed that much between 2.2.x and 2.0.x, so that might work. If you do

Re: mod_cache and its ilk

2006-10-29 Thread Graham Leggett
Roy T. Fielding wrote: As far as *I* am concerned, changes to the cache code must be correct first and then perform second, and both of those should be proven by actual testing before being committed to trunk. +1. We have an existing cache that breaks in real world environments. We have a

Re: AW: mod_deflate and flush?

2006-10-29 Thread Ruediger Pluem
On 10/29/2006 11:41 PM, Nick Kew wrote: On Sun, 2006-10-29 at 23:21 +0100, Ruediger Pluem wrote: Backport to 2.2.x ? I'm still using 2.0.x - LOL. Have you tried to apply the patches for 2.2.x to 2.0.x? I haven't tried so, but I think mod_deflate has not changed that much between 2.2.x and

Re: svn commit: r468373 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c modules/cache/mod_cache.h modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h modules/cache/mod_mem_cache.c

2006-10-29 Thread Justin Erenkrantz
On Fri, Oct 27, 2006 at 01:28:57PM -, [EMAIL PROTECTED] wrote: Author: minfrin Date: Fri Oct 27 06:28:56 2006 New Revision: 468373 URL: http://svn.apache.org/viewvc?view=revrev=468373 Log: mod_cache: Pass the output filter stack through the store_body() hook, giving each cache backend

Re: Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Dave, Ok, I feel dumm. I would have never guessed this. I thought libapreq was part of mod_perl, and that when you compiled it it just was used by mod_perl. I kept seeing that library, but not making the connection! Not a dumb question at all, but a good question. I'm just so out of date

Re: svn commit: r468373 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c modules/cache/mod_cache.h modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h modules/cache/mod_mem_cache.c

2006-10-29 Thread Graham Leggett
Justin Erenkrantz wrote: -1. This breaks the abstraction between the cache providers and the filter streams. The cache providers should not be in the business of delivering content down to the next filter - that is the job of mod_cache. Following this route is completely anti-thetical to the

Re: Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Dave, Speaking of which - how do you use gdb with mod_perl/libapreq? I'm used to using it and other debuggers (Visual Studio, etc, DDD with gdb, Xcode) with mysqld and DBD::mysql, but how do you attach it to a mod_perl script, httpd, mod_perl, libapreq (?) to see what's going on? I have

Re: [Fwd: Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h]

2006-10-29 Thread William A. Rowe, Jr.
Ruediger Pluem wrote: Apart from this, Paul created a branch a while ago for mod_cache refactoring. As it has turned out the whole thing creates some bigger discussion and patches go in and out. So I think it would be a good idea to do this on a dev branch instead of the trunk. So I

Re: svn commit: r468373 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c modules/cache/mod_cache.h modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h modules/cache/mod_mem_cache.c

2006-10-29 Thread Justin Erenkrantz
On 10/29/06, Graham Leggett [EMAIL PROTECTED] wrote: The current expectation that it be possible to separate completely the storing of the cached response and the delivery of the content is broken. We have a real world case where the cache is expected to process a many MB or many GB file

Re: [Fwd: Re: svn commit: r467655 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_cache.xml modules/cache/mod_cache.c modules/cache/mod_cache.h]

2006-10-29 Thread Justin Erenkrantz
On 10/29/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: I strongly disagree because MOST of the flaws in the HTTP/1.1 implementation, mod_proxy and even mod_cache exist because the development happened with insufficient oversight. Only code that's actively reviewed on trunk/ is going to get

Bug report for Apache httpd-1.3 [2006/10/29]

2006-10-29 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Re: apr_dbd_mysql for apache2.2

2006-10-29 Thread Philip M. Gollucci
Is anyone actually using MySQL(5) for authentication with apache2.2 ? Yes, me. /me thinks it your OS :) I just compiled this on my desktop to be sure, but this combo works as of now: apr - svn trunk apr-util svn trunk httpd trunk mysql 5.0.24 FreeBSD 7.0-current Attached are my

Re: Python 2.5 nested auth functions in publisher.

2006-10-29 Thread Graham Dumpleton
Got access to Python 2.5 finally. My test script works on it so they have fixed the ordering issue. 2.5 (r25:51908, Oct 29 2006, 01:52:52) [GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] () ('req', '__auth__', '__access__', '__auth_realm__') 1 __auth__ (1, code object __auth__ at 0xb7dbdbf0,

[RELEASE CANDIDATES] Status ?

2006-10-29 Thread Philip M. Gollucci
Hi all, so it seems I dropped the ball on the releases. I'm about to get back into it. Does anyone know of any issues that are still oustanding from mod_perl-2.0.3-RC1 Apache-Test 1.29-RC1 libapreq2 2.09-RC1 before I roll -RC2s. I'm pretty sure Apache-Test and libapreq2 will be ready

Re: Problems with apreq2 on OS X

2006-10-29 Thread Patrick Galbraith
Fred, Yes, on Suse 10.0 AMD64, I get: /usr/local/apache2/bin/httpd: symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2 I've found out I get this even if I don't use Apache2::Request. Very

Re: [RELEASE CANDIDATES] Status ?

2006-10-29 Thread Fred Moyer
Philip M. Gollucci wrote: Hi all, so it seems I dropped the ball on the releases. I'm about to get back into it. Does anyone know of any issues that are still oustanding from mod_perl-2.0.3-RC1 Apache-Test 1.29-RC1 libapreq2 2.09-RC1 before I roll -RC2s. I'm pretty sure Apache-Test

Re: Problems with apreq2 on OS X

2006-10-29 Thread Jonathan Vanasco
Fred Moyer wrote: If you go to PHP, you should not expect a trouble free life :) I don't have anything against PHP, but it has it's own set of problems. With development in any language, you need to make sure that you keep a tight hold on your versions. Using the latest version of

Re: [RELEASE CANDIDATES] Status ?

2006-10-29 Thread Philip M. Gollucci
this one time in band camp Issac Goldstand said on 10/29/06 01:41: If you're planning on rolling libapreq-2.09 soon, maybe we should include the intial work done in /branches/enhanced-cgi/ http://svn.apache.org/repos/asf/httpd/apreq/branches/enhanced-cgi/ It seems stable at the moment. Hi,

Re: Problems with apreq2 on OS X

2006-10-29 Thread Fred Moyer
Dave Viner wrote: this might be a dumb question, but have you checked that the apreq module is loaded? LoadModule apreq_modulemodules/mod_apreq2.so ? Egads - that was it. I've only been using this module for how many years? Somehow that line went missing from my httpd.conf in one of

Re: Problems with apreq2 on OS X

2006-10-29 Thread Philip M. Gollucci
this one time in band camp Patrick Galbraith said on 10/29/06 16:26: Dave, Speaking of which - how do you use gdb with mod_perl/libapreq? I'm used to using it and other debuggers (Visual Studio, etc, DDD with gdb, Xcode) with mysqld and DBD::mysql, but how do you attach it to a mod_perl