foo') ){
warn $upload->filename();
}
$r->content_type('text/html');
print "";
return Apache2::Const::OK;
}
1;
On Mon, Jan 5, 2009 at 7:50 AM, Adam Prime wrote:
> Miles Crawford wrote:
>>
>> I agree it looks bogus, but saf
at is a "browser fact of life"
-miles
On Fri, Jan 2, 2009 at 4:44 PM, Adam Prime wrote:
> Miles Crawford wrote:
>>
>> When you handle a multipart/form-data post with libapreq quotes in
>> filenames are mishandled. For example, a post that includes:
>>
&g
When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled. For example, a post that includes:
Content-Disposition: form-data; name="foo"; filename="break"here.jpg"
Will result in a filename of just 'break'.
To reproduce, set up a test following the snippets bel
I'm working on the assumption that I would be aided in tracking down memory
leaks in a large mod_perl application if I could see what objects were having
their DESTROY method called during global destruction.
This seems to work out well:
sub DESTROY {
my $self = shift;
eval { die "Mem
desired! ;)
So, it seems that threading confounds Apache::DProf, at least in my tests.
Thanks guys,
-Miles
On Thu, 9 Nov 2006, Philip M. Gollucci wrote:
Miles Crawford wrote:
Hmm. Thanks for the hints guys, but it's still not working.
My config has this now:
PerlModule Apache::DProf
Interesting idea - I seem to be able to write to them as the apache user
though ;( I'd never thought they were written half before and half after the
permission drop.
-miles
On Thu, 9 Nov 2006, Perrin Harkins wrote:
On Thu, 2006-11-09 at 13:56 -0800, Miles Crawford wrote:
I
u, 2006-11-09 at 13:51 -0800, Miles Crawford wrote:
Any other ideas or things I could check that might help?
Make sure that the user your server runs as (nobody?) can write to that
directory.
- Perrin
Hmm. Thanks for the hints guys, but it's still not working.
My config has this now:
PerlModule Apache::DProf
use APR::Pool ();
use Apache::DB ();
Apache::DB->init();
As you recommend, but the files are still totally empty. I'm not checking
them until I issue an "apache2ctl stop" and
Heya,
I'm using Apache::DProf in an attempt to profile my application. This has
worked great for me in the past under Apache 1.3, but this is a new
installation with Apache 2. At first, I thought it was working great under
apache2 as well - the dprof dir was created, the $$/tmon.out files w