httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: mod_include_post...the saga continues
Date Fri, 27 Aug 2004 05:33:03 GMT
You should use apr_table_setn() function, because the bucket brigade may have
zero bytes within itself, which will then not get copied. Naturally, force the
cast of the pointer into (const char *) and you should be good.

Quoting Anthony Wells <awells@cd-crafters.com>:

> Great news!!!
>
> I'm almost finished with this project, or so do I believe.
>
> Currently, I have a duplicate of the bucket brigade that has the POST data
> that was parsed in the apreq filter.  However, I'm not sure where to stuff
> this bucket brigade so I can access it later in the mod_include output
> filter.
>
> I've tried stuffing it in r->notes using
> 	apr_table_set(r->notes, "bbcopy", bbcopy);
>
> but that doesn't work, well because it expects a (const char *).
>
> Any ideas where I can stuff it and pull it out later.
>
> Thanks in advance,
> Anthony
>
>


--
Bojan

Mime
View raw message