[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libapreq: end of file error, discard body request, and more fun



i'm in a weird situation...

if i do this:

my $apr= Apache2::Request->new( $r , %{$self->URI_get_defaults( $r- >uri )} );
		$r->discard_request_body;

everything works fine in one webapp, and i don't have to deal with weird stalls when an overlimit amount of data is posted.

however, in a nearly identitcal webapp (both custom framework, no mason, straight calls to libapreq ), that generates a 'End of file found' error, and I have no get/post data.

now if i just do this..
		# $r->discard_request_body;

then i can access the data fine -- but i'll get a weird stall when an overlimit amount of data is posted

does anyone have an idea how i can better test this to figure out wtf is going on ?

// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|   CEO/Founder SyndiClick Networks
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.