httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wichitill <ma...@gmx.de>
Subject Re: Problem use Apache::Upload
Date Sat, 31 Jul 2004 21:19:01 GMT
Randy Kobes wrote:
> I get a similar error now when I move the parse() line
> under new() - the following:
> 
> ================================================================
> Index: glue/perl/xsbuilder/Apache/Request/Apache__Request.h
> ===================================================================
> RCS file: /home/cvs/httpd-apreq-2/glue/perl/xsbuilder/Apache/Request/Apache__Request.h,v
> retrieving revision 1.50
> diff -u -r1.50 Apache__Request.h
> --- glue/perl/xsbuilder/Apache/Request/Apache__Request.h	29 Jul 2004 16:22:32 -0000	1.50
> +++ glue/perl/xsbuilder/Apache/Request/Apache__Request.h	31 Jul 2004 20:51:51 -0000
> @@ -415,7 +415,7 @@
>      while (s == APR_INCOMPLETE);
> 
>      if (req->body == NULL)
> -        req->body = apr_table_make(req->env, APREQ_NELTS);
> +        req->body = apr_table_make(apreq_env_pool(req->env), APREQ_NELTS);
> 
>      if (GIMME_V != G_VOID)
>          XSRETURN_IV(s);
> 
> =================================================================
> fixes it for me - does it also for you?

Yep.

Mime
View raw message