Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于hprose server报出http状态码500的错误 #48

Closed
spfhi opened this issue Jun 27, 2017 · 1 comment
Closed

关于hprose server报出http状态码500的错误 #48

spfhi opened this issue Jun 27, 2017 · 1 comment

Comments

@spfhi
Copy link

spfhi commented Jun 27, 2017

php 的 hprose server,

我在关闭报错误(display_error:Off)之后会报一个http code=500的内部错误,但是我打开报错误就是正常的,而且我这边看日志确实没有啥错误。

前几天也出现了,我把代码全部删除,重新clone一份又正常了,搞不太懂,是不是hprose内部会缓存代码呢?之前我修改了一些server的代码,客户端去调用都会缓存一会儿,每次都重启了php都没有用。

hprose/hprose/src/Hprose/Http/Client.php(279): Hprose\Http\Client->getContents('HTTP/1.1 500 In...', Object(stdClass))
hprose/hprose/src/Hprose/Http/Client.php(296): Hprose\Http\Client->syncSendAndReceive('Cs4"post"a1{m3{...', Object(stdClass))
hprose/hprose/src/Hprose/Client.php(49 in /home/wwwroot/demo.gateapi.cn/vendor/hprose/hprose/src/Hprose/Http/Client.php on line 266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants