upstream prematurely closed connection while reading upstream 错误

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:40   1367   0

2015/12/03 16:07:50 [error] 6597#0: *10627335 upstream prematurely closed connection while reading upstream, client: 27.38.35.212, server: iface2.iqiyi.com, request: "POST /php/xyz/iface/?key=10020202ddf238a3ed4b7fbac0e1c989&device_id=867075026990477&network=1&ua=3007&os=4.4.4&version=4.9.1&category_id=7&f_ps=10&s=5&ps=30&pn=1&pcat=2&hwd=0&udid=55ebae904953fa2&openudid=55ebae904953fa2&uniqid=97b66685bcc4e4f6459c853fb6b22061&ppid= HTTP/1.1", upstream: "http://10.77.43.104:80/php/xyz/iface/?key=10020202ddf238a3ed4b7fbac0e1c989&device_id=867075026990477&network=1&ua=3007&os=4.4.4&version=4.9.1&category_id=7&f_ps=10&s=5&ps=30&pn=1&pcat=2&hwd=0&udid=55ebae904953fa2&openudid=55ebae904953fa2&uniqid=97b66685bcc4e4f6459c853fb6b22061&ppid=", host: "iface2.iqiyi.com"



解决办法: 将下边这个header 去掉

header('Content-length: ' . strlen($reply));

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP