Re: [jira] Updated: (MODPYTHON-106) PythonAutoReload directive can't be turned off in config.

2006-01-04 Thread Gregory (Grisha) Trubetskoy
On Mon, 2 Jan 2006, Graham Dumpleton (JIRA) wrote: Should this be fixed in 3.2, given that it probably hasn't work in 3.0 and 3.1? I think it would be a good idea. Hopefully this is the last fix before we roll it out. Grisha

Re: [jira] Created: (MODPYTHON-105) mod_python.publisher should not discard content for HEAD request.

2006-01-04 Thread Gregory (Grisha) Trubetskoy
On Mon, 2 Jan 2006, Graham Dumpleton (JIRA) wrote: In addressing MODPYTHON-71, mod_python.publisher code was changed to read: if req.method!='HEAD': req.write(result) This change should not really have been made and it should be changed back to what was there before, ie.,

Re: [jira] Created: (MODPYTHON-105) mod_python.publisher should not discard content for HEAD request.

2006-01-04 Thread Gregory (Grisha) Trubetskoy
On Wed, 4 Jan 2006, Gregory (Grisha) Trubetskoy wrote: It may be a good idea to check the httpd-dev archives to see if the issue of HEAD has been discussed in the past. Here's a relevant bit of info from the httpd-dev archives: * All handlers should always send content down even if

Re: [jira] Created: (MODPYTHON-105) mod_python.publisher should notdiscard content for HEAD request.

2006-01-04 Thread Graham Dumpleton
Grisha wrote .. As an an example of an Apache module that uses output filters to do stuff, there is mod_cache. Luckily in that case, a HEAD request is one of various cases where mod_cache decides it will not use the output. This does not mean though that some other output filter that

BUG?: Segfault with add_handler

2006-01-04 Thread Joseph Barillari
Hi, So far, I really like mod_python -- it's a great piece of software. But I think I've found a small bug. I've noticed that adding a handler using add_handler prompts apache to segfault if no statically registered (e.g., specified in the apache conf files) handlers of the same category (e.g.,

Re: BUG?: Segfault with add_handler

2006-01-04 Thread Graham Dumpleton
You are a few weeks too late. :-) See: http://issues.apache.org/jira/browse/MODPYTHON-98 There are whole bunch of little issues with adding handlers using req.add_handler(). For this one you seem to have tread much the same path as I did. Graham Joseph Barillari wrote .. Hi, So far, I

Re: [jira] Created: (MODPYTHON-105) mod_python.publisher should notdiscard content for HEAD request.

2006-01-04 Thread Gregory (Grisha) Trubetskoy
On Wed, 4 Jan 2006, Graham Dumpleton wrote: Either way, we agree that mod_python.publisher should still output content for HEAD. Yep. I would also propose as a change that the req.write() call not cause output to be flushed to allow an output filter like CONTENT_LENGTH to be used.

Re: [jira] Created: (MODPYTHON-107) mod_python.publisher shouldn't flush result when written.

2006-01-04 Thread Gregory (Grisha) Trubetskoy
On Wed, 4 Jan 2006, Graham Dumpleton (JIRA) wrote: This makes one wander if there should be a configurable option for mod_python.psp to tell it not to flush output as well so that CONTENT_LENGTH could be used in that case as well. ??? I kinda mentioned this in the previous e-mail - PSP

Re: [jira] Created: (MODPYTHON-105) mod_python.publisher shouldnotdiscard content for HEAD request.

2006-01-04 Thread Graham Dumpleton
Grisha wrote .. On Wed, 4 Jan 2006, Graham Dumpleton wrote: Either way, we agree that mod_python.publisher should still output content for HEAD. Yep. I would also propose as a change that the req.write() call not cause output to be flushed to allow an output filter like