OkHttp not closing connection on request timeouts

穿精又带淫゛_ 提交于 2019-12-13 01:55:58

问题


I am setting readTimeout and stalling my server (Node.js + express).

I am not getting a socket close from the client.

Is this an expected behaviour ?


回答1:


We fixed a bug related to this just yesterday. If you can do us a favor and try the latest code from git master, I'm eager to see if that fixes your problem!



来源:https://stackoverflow.com/questions/31770119/okhttp-not-closing-connection-on-request-timeouts

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!