We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
经常会有请求报错500, 后台日志报错EOF,看了下pkg/util/fasthttp_client.go:219代码,压根没有处理失效连接(与server的连接可能会由于网络等原因异常断开),这谁敢用啊,连接池里的连接指不定啥时候就被server断开了
The text was updated successfully, but these errors were encountered:
你可能没有用对,连接池的参数可以设置,同时后端服务的读写超时时间也要相应的进行修改,不然的话,连接池里面的连接还没断开,就被后端服务给超时断开了,所以经常会报EOF的错误
Sorry, something went wrong.
No branches or pull requests
经常会有请求报错500, 后台日志报错EOF,看了下pkg/util/fasthttp_client.go:219代码,压根没有处理失效连接(与server的连接可能会由于网络等原因异常断开),这谁敢用啊,连接池里的连接指不定啥时候就被server断开了
The text was updated successfully, but these errors were encountered: