hprose/hprose-php

我的web应用使用swoole(常驻内存),hrpose服务器重启时,导致出现 response read error

Closed this issue · 2 comments

mrzxy commented

原因应该是 内存cache了stream客户端,当rpc服务器重启时,原有client连接中断
有什么解决办法吗?比如如何手动重载steam_client什么的

andot commented

这很正常啊,重新发起调用就行了。

mrzxy commented

晕,谢谢提醒,忘了用了单例