在2.4和2.5版本之间,okhttp显然改变了它"糟糕的"套接字超时,导致了流行套接字的大量中断。io-client-java图书馆。
是否有一个解决方案,除了坚持okhttp 2.4?
您可以使用OkHttpClient.setReadTimeout()
等配置您的首选超时
在2.4和2.5版本之间,okhttp显然改变了它"糟糕的"套接字超时,导致了流行套接字的大量中断。io-client-java图书馆。
是否有一个解决方案,除了坚持okhttp 2.4?
您可以使用OkHttpClient.setReadTimeout()
等配置您的首选超时
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium