Trouble Setting POST_MAX

[prev] [thread] [next] [Date index for 2005/02/20]

From: jonathan vanasco
Subject: Trouble Setting POST_MAX
Date: 01:37 on 20 Feb 2005
	preface -- sorry if this is a double post, i accidentally sent from 
another address earlier, and i believe this list doesn't post 
non-subscriber messages.

Admittedly, this is due to user error and incompetence

mod_perl2 / apache2 / libaprq is the latest

This works:
	sub handler
	{
		my 	$r	=	shift;
	};

Based on the examples in the book/cookbook and online, I thought I was 
supposed to do this:
sub handler
{
	my  $r 	= 	Apache::Request->new(shift,
				POST_MAX        => .1 * 1024 * 1024,    # in bytes, so 100K
				DISABLE_UPLOADS => 0
				);
}

That turns into a segfault.

can someone point out my mistake?

Trouble Setting POST_MAX
jonathan vanasco 01:37 on 20 Feb 2005

RE: Trouble Setting POST_MAX
pileswasp 16:21 on 21 Feb 2005

Re: Trouble Setting POST_MAX
Ian Joyce 03:45 on 22 Feb 2005

Re: Trouble Setting POST_MAX
Jonathan Vanasco 22:13 on 22 Feb 2005

Re: Trouble Setting POST_MAX
Joe Schaefer 22:58 on 22 Feb 2005

Generated at 22:43 on 24 Feb 2005 by mariachi v0.52