|
From: <php...@li...> - 2009-08-18 10:53:55
|
Hi Jost,
> You are right, when calling fopen("php://input", "r") PHP version 5
> may crash or hang. Please do not use it until this
> PHP5 bug is fixed.
> ...
> Do you report this bug to the PHP maintainers?
Using PHP 5.2.9 here, but function php_stream_input_read() in
php_fopen_wrapper.c is identical to the 5.2.5 one.
Before opening a bug (been there, done that) I should carefully check
what you say, but I cannot do so right now - leaving for vacation
tomorrow next and lots of loose ends to fix here at work.
Anyway I modified the Swing application to redirect the JSON-RPC call to
a "standard" Apache + mod_php 5.2.9 configuration (no Jetty no Java) and
php://input works perfectly - as well it should, since we are using that
machine as a SOAP services endpoint, consuming RAW POST data all the
time.
Will need to double check the C code ...
Bye,
Massimo
|