modul development, insertion of postdata into request
modul development, insertion of postdata into request
am 21.10.2009 12:22:23 von broetchen25
Hello,
the thing to have:
inserting (raw) postdata to a request, so later modules like php
can reach it.
reading is simple with 'apr_brigade_flatten' but writing draws
problems, i tried 'apr_brigade_write' and flush it
into input filters -> internal server error :-/
have anyone some snippets of code, that solves it?
btw:
[x] queried google
[x] queried books
Yours
Martin
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: modul development, insertion of postdata into request
am 21.10.2009 14:49:28 von Nick Kew
broetchen25@gmx.net wrote:
> Hello,
>
> the thing to have:
> inserting (raw) postdata to a request, so later modules like php
> can reach it.
> reading is simple with 'apr_brigade_flatten' but writing draws
> problems, i tried 'apr_brigade_write' and flush it
> into input filters -> internal server error :-/
>
> have anyone some snippets of code, that solves it?
Sounds like you're looking to write an input filter.
The input chain works by pull, so you don't push to it!
> [x] queried books
http://www.apachetutor.org/
--
Nick Kew
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: modul development, insertion of postdata into request
am 21.10.2009 16:46:56 von broetchen25
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
>> inserting (raw) postdata to a request, so later modules like php
>> can reach it.
>> reading is simple with 'apr_brigade_flatten' but writing draws
>> problems, i tried 'apr_brigade_write' and flush it into input filters
>> -> internal server error :-/
>>
>> have anyone some snippets of code, that solves it?
>
> Sounds like you're looking to write an input filter.
> The input chain works by pull, so you don't push to it!
yes, i have a input filter module - okay noticed input is readonly
>> [x] queried books
>
> http://www.apachetutor.org/
that book is laying on my desk, it only deescribes howto
get the data, not howto insert it
thanks,
Yours
martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkrfHuAACgkQ7Quuf9/D+8sG7gCg0+7+cdNF+fyOt/LTy3sg 8Mew
cs4AmwaZdnPJLDWwFr0YvnM9uuIKQF4m
=oOsz
-----END PGP SIGNATURE-----
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: modul development, insertion of postdata into request
am 21.10.2009 17:27:18 von Nick Kew
Martin Schuhmacher wrote:
> that book is laying on my desk, it only deescribes howto
> get the data, not howto insert it
Um, haven't time to check just now, but I'm sure there's an
input filter example!
Anyway, you insert data by making a bucket (or buckets) of them,
and inserting that in your caller's brigade.
--
Nick Kew
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: modul development, insertion of postdata into request
am 21.10.2009 19:08:35 von Dan Poirier
Nick Kew writes:
> Martin Schuhmacher wrote:
>
>> that book is laying on my desk, it only deescribes howto
>> get the data, not howto insert it
>
> Um, haven't time to check just now, but I'm sure there's an
> input filter example!
8.12.4 Input Filter Example (p. 232 in my copy)
--
Dan Poirier
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org