Skip to content

Commit b6cb0b2

Browse files
committed
bump websocket version
1 parent 3ec1b93 commit b6cb0b2

File tree

3 files changed

+100
-72
lines changed

3 files changed

+100
-72
lines changed

Source/SSLSecurity.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ public class SSLSecurity : NSObject {
8888
- returns: a representation security object to be used with
8989
*/
9090
public init(certs: [SSLCert], usePublicKeys: Bool) {
91-
super.init()
92-
9391
self.usePublicKeys = usePublicKeys
9492

93+
super.init()
94+
9595
if self.usePublicKeys {
9696
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0)) {
9797
let pubKeys = certs.reduce([SecKeyRef]()) { (pubKeys: [SecKeyRef], cert: SSLCert) -> [SecKeyRef] in

Source/SocketEngine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public final class SocketEngine : NSObject, NSURLSessionDelegate, SocketEnginePo
259259
}
260260
}
261261

262-
ws?.queue = handleQueue
262+
ws?.callbackQueue = handleQueue
263263
ws?.voipEnabled = voipEnabled
264264
ws?.delegate = self
265265
ws?.selfSignedSSL = selfSigned

0 commit comments

Comments
 (0)