NSUrlConnection backend for QNetworkAccessManager
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Sat, 26 Oct 2013 11:51:17 +0000 (13:51 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 8 Nov 2013 13:37:27 +0000 (14:37 +0100)
commitfbcad545ce857923c709785cbb44f50c0a4f034c
tree6f6abc7abe232c3a354a062a43e1a2bc5e22c4d6
parent2d1bb6d61d5c26a11b65eda5f9625894b794391f
NSUrlConnection backend for QNetworkAccessManager

Add support for QNetworkAccessManager https REST on
iOS, without adding a dependency on OpenSSL.

The current limitations are:
- Overriding server certificate trust issues (for
  example expired certificates) is not supported.
- Usage on non-gui threads is not supported.
  NSurlConnection needs a CoreFoundation-based event
  loop, which Qt currently only provides when using
  QGuiApplication on the main thread.

Change-Id: Ic6f74591d40c3b2248ab81db12647e432377cd4f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/network/access/access.pri
src/network/access/qnetworkaccessmanager.cpp
src/network/access/qnetworkreplynsurlconnectionimpl.mm [new file with mode: 0644]
src/network/access/qnetworkreplynsurlconnectionimpl_p.h [new file with mode: 0644]