91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

recvfrom failed: ETIMEDOUT (Connection timed out)

發布時間:2020-04-21 06:58:42 來源:網絡 閱讀:11649 作者:truesea 欄目:開發技術

WIFI網絡和移動網絡同時打開,在下載過程中,關閉WIFI網絡,此時系統關閉WIFI網絡同時切換到移動網絡,在此過程,出現以下異常,出現異常的語句是is.read(buffer),代碼段如下:

try{
    while ((len = is.read(buffer)) != -1) {
        if(!CommonUtils.isDownloadAvailable()) {
            Logger.v(TAG, "Download operation is unavailable, stop down.");
            break;
        }
        if(!running) {
            Logger.v(TAG, "Down is cancelled, stop down.");
            break;
        }
        offset += len;
        file.write(buffer, 0, len);
        sendMessage(DownMessage.MSG_UPDATE, len);
    }
}catch(IOException e) {
    Logger.e(TAG, "Catch IO exception when read data from input stream.", e);
    throw e;
}

Catch IO exception when read data from input stream.

java.net.SocketException: recvfrom failed: ETIMEDOUT (Connection timed out)

at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:542)

at libcore.io.IoBridge.recvfrom(IoBridge.java:506)

at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)

at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)

at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)

at java.io.BufferedInputStream.read(BufferedInputStream.java:304)

at libcore.net.http.FixedLengthInputStream.read(FixedLengthInputStream.java:45)

at java.io.BufferedInputStream.read(BufferedInputStream.java:304)

at java.io.InputStream.read(InputStream.java:163)

at com.tvie.ivideo.download.logic.DownThread.run(DownThread.java:70)

Caused by: libcore.io.ErrnoException: recvfrom failed: ETIMEDOUT (Connection timed out)

at libcore.io.Posix.recvfromBytes(Native Method)

at libcore.io.Posix.recvfrom(Posix.java:131)

at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)

at libcore.io.IoBridge.recvfrom(IoBridge.java:503)

... 8 more


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

象山县| 汉川市| 肇东市| 余干县| 竹山县| 许昌县| 天津市| 永川市| 迁安市| 新丰县| 财经| 鹤峰县| 越西县| 虹口区| 双牌县| 清水河县| 衡山县| 册亨县| 新营市| 磴口县| 普陀区| 奈曼旗| 托克逊县| 白河县| 习水县| 大新县| 江油市| 鱼台县| 台山市| 鹰潭市| 武邑县| 砚山县| 鹿邑县| 广德县| 新闻| 商城县| 哈巴河县| 昭平县| 沁水县| 大冶市| 井研县|