File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Sources/Clickstream/NetworkManager/Infrastructure/Sockets Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def clickstream_pods
12
12
pod 'SwiftProtobuf' , '~> 1.21.0'
13
13
pod 'ReachabilitySwift' , '5.2.3'
14
14
pod 'GRDB.swift' , '~> 6.7.0'
15
- pod 'Starscream' , '~> 4.0.6 '
15
+ pod 'Starscream' , '4.0.4 '
16
16
end
17
17
18
18
target 'Clickstream' do
Original file line number Diff line number Diff line change 3
3
- GRDB.swift/standard (= 6.7.0)
4
4
- GRDB.swift/standard (6.7.0)
5
5
- ReachabilitySwift (5.2.3)
6
- - Starscream (4.0.8 )
6
+ - Starscream (4.0.4 )
7
7
- SwiftProtobuf (1.21.0)
8
8
9
9
DEPENDENCIES:
10
10
- GRDB.swift (~> 6.7.0)
11
11
- ReachabilitySwift (= 5.2.3)
12
- - Starscream (~> 4.0.6 )
12
+ - Starscream (= 4.0.4 )
13
13
- SwiftProtobuf (~> 1.21.0)
14
14
15
15
SPEC REPOS:
@@ -22,9 +22,9 @@ SPEC REPOS:
22
22
SPEC CHECKSUMS:
23
23
GRDB.swift: df2fdb0752e88383fc314e1e5d7c3a76d52054eb
24
24
ReachabilitySwift: 7f151ff156cea1481a8411701195ac6a984f4979
25
- Starscream: 19b5533ddb925208db698f0ac508a100b884a1b9
25
+ Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9
26
26
SwiftProtobuf: afced68785854575756db965e9da52bbf3dc45e7
27
27
28
- PODFILE CHECKSUM: 90f76e61798bef03c4deda5bc7d258ea40c1ddd0
28
+ PODFILE CHECKSUM: 213a1f773842b7f54321fed274b2d0f1244f4fa5
29
29
30
30
COCOAPODS: 1.15.2
Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ extension DefaultSocketHandler {
216
216
checkedSelf. connectionCallback ? ( . success( . cancelled) )
217
217
case . viabilityChanged( let status) :
218
218
checkedSelf. isConnectionRequestOpen = status
219
- case . peerClosed:
220
- checkedSelf. isConnectionRequestOpen = false
219
+ // case .peerClosed:
220
+ // checkedSelf.isConnectionRequestOpen = false
221
221
default :
222
222
break
223
223
}
@@ -263,11 +263,11 @@ extension DefaultSocketHandler {
263
263
guard Tracker . debugMode else { return }
264
264
if let error = error, case HTTPUpgradeError . notAnUpgrade( let code) = error {
265
265
266
- if code. 0 == 401 {
266
+ if code == 401 {
267
267
let event = HealthAnalysisEvent ( eventName: eventName,
268
268
reason: FailureReason . AuthenticationError. rawValue)
269
269
Tracker . sharedInstance? . record ( event: event)
270
- } else if code. 0 == 1008 {
270
+ } else if code == 1008 {
271
271
let event = HealthAnalysisEvent ( eventName: eventName,
272
272
reason: FailureReason . DuplicateID. rawValue)
273
273
Tracker . sharedInstance? . record ( event: event)
You can’t perform that action at this time.
0 commit comments