path: root/src/gui
diff options
authorTimur Pocheptsov <>2017-11-01 13:19:28 +0100
committerEdward Welbourne <>2017-11-14 16:12:51 +0000
commit0f0726d36e36815fb2bbd1702fe35ae33d27b0bf (patch)
tree4bee60e2d7a91247fc8a21305a4dd09c485bb19d /src/gui
parent094869d4a88c3d0187d2f9c03294ce32f3503533 (diff)
QSslSocketPrivate (SecureTransport) - add ALPN support
Starting from iOS 11.0 (SDK) Apple has exposed two new functions: SSLSetALPNProtocols and SSLCopyALPNProtocols. This allows us to negotiate http/2 (and any other application layer protocol) via TLS on iOS. Unlike OpenSSL, SecureTransport's version is very limited - we have to compare protocols manually after the SSL handshake has finished. Still, this is better than nothing. These two functions are also declared in macOS SDK starting from 10.13, but unfortunately the symbols are missing and for now this feature is only enabled on iOS. Change-Id: I3ed2f287bfa864f8aca0c231171e804f7d6b8016 Reviewed-by: Edward Welbourne <> Reviewed-by: Timur Pocheptsov <>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions