Re: Parsing error when parsing the second time

2007-04-28 Thread Joe Schaefer
Andy Grundman <[EMAIL PROTECTED]> writes:

> I'm trying to use APR::Request outside of Apache to parse application/
> x-www-form-urlencoded POST data.  I'm using libapreq2-2.08.
>
> I have some working code mostly taken from the libapreq2 tests, but
> I'm running into an issue where the second time I try to parse
> something, nothing is parsed.  The code I'm using is below along with
> the output.  Is there something I'm forgetting to reset before
> calling the function a second time?

The underlying apreq_handle_custom() function was missing an initializer
for bytes_read.  The pool cleanup was just enough to jigger around the
allocator to fill those bits with something non-zero, which triggered
the bug.  It should be fixed in apreq's trunk now.

-- 
Joe Schaefer



Re: [RELEASE CANDIDATE] libapreq 1.34-RC2

2007-04-28 Thread Joe Schaefer
Issac Goldstand <[EMAIL PROTECTED]> writes:

> The apreq developers are planning a maintenance release of
> libapreq1.  This version primarily addresses an issue noted
> with FireFox 2.0 truncating file uploads in SSL mode.
>
> Please give the tarball at
>
> http://people.apache.org/~issac/libapreq-1.34-RC2.tar.gz
>
> a try and report comments/problems/etc. to the apreq-dev list
> at [EMAIL PROTECTED]

+1, tested on Debian stable i386.

-- 
Joe Schaefer