本文介绍了mod_passenger 中的意外错误:接收 HTTP 上传数据时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到类似的错误
[ pid=22895 thr=139814677706720 file=ext/apache2/Hooks.cpp:884 time=2013-04-18 21:10:56.113 ]: Unexpected error in mod_passenger: An error occurred while receiving HTTP upload data: End of file found (70014)
Backtrace:
in 'boost::shared_ptr<Passenger::BufferedUpload> Hooks::receiveRequestBody(request_rec*)' (Hooks.cpp:1321)
in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:585)
推荐答案
我得到了解决方案.
如果您的服务器在 cantos 中,请在您的 httpd.conf
If your server in cantos then change this line in your httpd.conf
你的 httpd.conf 文件在 etc/conf/httpd.conf
your httpd.conf file is in etc/conf/httpd.conf
打开该文件并更改这一行
Open that file and change this line
默认为 KeepAlive 为 60
.现在改变这一点,将 60 替换为 100.
default is KeepAlive is 60
. now change this and replace 60 to 100.
希望这对你有用.
这篇关于mod_passenger 中的意外错误:接收 HTTP 上传数据时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!