php7-internal icon indicating copy to clipboard operation
php7-internal copied to clipboard

php7.0.7响应体中有一定概率带上post请求参数

Open aosie opened this issue 7 years ago • 0 comments

生产环境跑php7.0.7接近半年时间,最近突然报出错误,通过模拟请求,并用tcpdump抓包,发现php响应体中,有一定概率带post请求参数。 error error1

脚本tt.php
<?php
echo 'hhhhhhhhh'.PHP_EOL;
命令行:
curl -d "a=b&c=d" http://www.phptest.test/tt.php
hhhhhhhhh
curl -d "a=b&c=d" http://www.phptest.test/tt.php
hhhhhhhhh
curl -d "a=b&c=d" http://www.phptest.test/tt.php
a=b&c=dhhhhhhhhh
curl -d "a=b&c=d" http://www.phptest.test/tt.php
hhhhhhhhh






aosie avatar Apr 28 '17 13:04 aosie