Hi all,

SG(request_info).post_data/raw_post_data is removed and modules supposed to
read it from stream on master.

Therefore, I tried to read stream at RINIT in a module as follows,

php_stream_rewind(SG(request_info).request_body);
php_stream_copy_to_mem(SG(request_info).request_body, &post_data_str,
PHP_STREAM_COPY_ALL, 0);

This results in segfault at reading stream.

What is the best way of getting  SG(request_info).post_data and
SG(request_info).raw_post_data with master branch? I would like to get
post_data/raw_post_data at runtime also.

Thanks.

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to