httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan <apreq-dev-l...@2xlp.com>
Subject POST_MAX
Date Fri, 10 Feb 2006 15:50:07 GMT
how do i catch the error when POST_MAX has been passed?

ie-

sub handler
{
	my 	$r 	 = shift;
	my 	$apr = Apache2::Request->new( $r , DISABLE_UPLOADS=>0 ,  
POST_MAX=>100_000 );
}

and someone tries to upload something 200_000 ?

it's unclear in the docs
	http://httpd.apache.org/apreq/docs/libapreq2/ 
group__apreq__xs__request.html

---
* POST_MAX, MAX_BODY
Limit the size of POST data (in bytes).
---

i'd love to know how to catch this, and even more for someone to  
update the docs with that info :)

Mime
View raw message