黑莓:https 非常慢
我的应用程序通过 KSoap2 库连接到 .NET Web 服务。当我使用 HttpConnection 时,一切都运行良好并且速度非常快。但是,当我切换到 HttpsConnection 时,该应用程序速度减慢,并且手机冻结。当进行肥皂调用以及从我的应用程序下载文件时会发生这种情况。我知道 https 总是比 http 慢,但是进行通常只需要几分之一秒的简单调用不应该花费几分钟。
以前有人见过这个问题吗?我能做点什么吗?
谢谢
My app connects to a .NET web service via KSoap2 library. When I'm using HttpConnection everything works great and is very fast. However, when i switch to HttpsConnection the app slows down to a crawl and freezes up the phone. This happens when making soap calls as well as downloading files from my app. I know that https is always going to be slower than http, but it shouldn't take minutes to make a simple call that normally takes a fraction of a second.
Has anyone seen this issue before? Anything i can do about it?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您在请求/响应中传递了多少数据?我没有注意到 SSL 比我们应用程序中的常规 HTTP 慢 - 但这些请求相对较小(最多几千字节)。
How much data are you passing in the request/response? I haven't noticed SSL to be any slower than regular HTTP in our app - but those are relatively small requests (several kilobytes at most).