Wifi连接慢的AWS S3文件的下载停止

时间:2019-06-04 19:22:36

标签: ios amazon-s3

我有一个应用程序,我正在尝试下载AWS S3和5mb上的文件。我对蜂窝电话没有问题,但wifi比较慢(大约120 kb / s没那么慢),下载停止了大约10%。我进行了很多搜索,并对info.plist进行了一些修改,但没有帮助。在下面,您可以看到我在info.plist中使用的内容以及下载期间的日志。

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>amazonaws.com</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionAllowsInsecureHTTPLoads</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSThirdPartyExceptionAllowsInsecureHTTPLoads</key>
            <false/>
            <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
            <true/>
            <key>NSThirdPartyExceptionMinimumTLSVersion</key>
            <string>TLSv1.2</string>
            <key>NSRequiresCertificateTransparency</key>
            <false/>
        </dict>
    </dict>
</dict>

日志输出:

2019-06-04 22:17:36.828347+0300 My App [12042:57908] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x7fdd3c72a8e0] get output frames failed, state 8196

0 个答案:

没有答案
相关问题