nginx接受post请求时网络断开,会出现什么状况?
环境使用了nginx+php-fpm,post请求的数据都是用data=json格式发送,但是有些请求中json格式格式数据有缺失。
{
"items": "AgYFBq8gOgCHDDhX431rnBTz9+oBkwx1iCkeIjFgOPTGpSc5g8oujfrH39SPL0Z3wyxjb2gd2o+OMydgIhCgPYuo+59m1Hl\/JLiZch9AnKFwr7y8KzNR2Q33QqP6FkV56idWE9w0a35EXktUZ36ssDjNUQbkUSEb60UgmX5\/pBFXPatLqg6zINFdu2Q4dv\/3gA8+IYNNZApfpcTDnIXL4nOuwtkVp8B48RdAs2pbizO9hH+GZiu5BnQHPVrsYmW3UHk\/tfW64BVJ7XbUvKEdC0mW7ASdCHA7DWcO1cmJlKGTvtrLhXqGjg+SP2Rj1LemuZNO6Pg5Fb7DJh05JGcwswb5zVanFaPLUj+kHF+imJ+exUVhQDPpsQYQFmcXOlz3zMbMR8ubZq\/4HykkatRnZydwn4phwUUhd4\/p1Ek2Xjj7sd0vX45\/mbtEZDF51RHfam8iJ4ZpdSyEX3aFWUdx4s2bWXjbeYtKyoYH1BJOBDt6zc6TB58F+2pQBI4M55LSJNVD\/s5oLo6xuDg1tdfyRuegkCHaRcDpFi7Hftl3VCxhZlFjTsA32l8uOf2HzrGaoNPGAEERyiuM3DLt8oJzdz4caGLnEJDJAIXESvNGJxzWrOUm1nKJJSk54hC7MC3hRv4HUuDWWF\/aobKaYeCjPkBSJWlS6z+ewhITkfn8kvSWeYHKkjvyC\/329vgAHxm8ML1Pm\/ikzRIg8I0xoMtNAGlSXWLgtQfHN8SzSfQDC4HseCaH92P7srCvkqkbWIcusdu0Vgvy6RDFMBYUCkqDOJ9qfizjLZli7EBGPKSFD4dCMRW29VQbaMQK5BpcFfSNvBbbJ4Sk6wUIFSrVK\/f5Eh6x2ieQCHEBZd2mLz+xrVPGTkCCPrqz8Ird2r\/\/fQIfE+5WpGHTwG9W3x1YGnE0CouRIO4aHsU9R\/ovU4ixTi2WFZ0bVAmYhuzlx2sH3PDfLwgxCw+WNmnySeS0ski7dMe\/GY7qaESHftStGihaevQgXgJmh0fxZKkuqOSbVY9KnqZLkLWNcEuDRPVL8kuCRjTaFaMQzoKBHEkg1LcwwvBId0V8Mxc3uAZzspvYXHrGp4N1d4nFU3L5kKcWODzm9WAeb5k
请问出现这种情况应该从什么地方入手?
AiKo娘
9 years, 11 months ago
Answers
使用
php://input
接收数据试试?
用其他工具(wireshark...)查看下http请求, 确定数据是否完整?
玩的就是心跳
answered 9 years, 11 months ago