java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

有一天個人androidHttpURLConnection 報這種錯。android

你看 to reduce latency,this class may reuse the same underlying Socket for.......懂了吧 ,咱們訪問頻率又不大,果斷關掉。System.setProperty("http.keepAlive", "false");this

ok 解決~~。io

相關文章
相關標籤/搜索