Skip to content

Conversation

@maratal
Copy link
Collaborator

@maratal maratal commented Sep 5, 2022

Probably closes #1437

Explanation:
ARTSRProxyConnect object can potentially generate a proxy connection error even after initial success (or more than one error in a raw), which can depend on what proxy type is used, which will create a race condition: self->_proxyConnect = nil; deallocates ARTSRProxyConnect object on a _workQueue, and a subsequent call to _failWithError: on a io.ably.socketrocket.NetworkThread inside ARTSRProxyConnect will cause crash when it'll try to access self.

Explanation:
`ARTSRProxyConnect` object can potentially generate a proxy connection error even after initial success (or more than one error in a raw), which can depend on what proxy type is used, which will create a race condition: `self->_proxyConnect = nil;` deallocates `ARTSRProxyConnect` object on a `_workQueue`, and a subsequent call to `_failWithError:`  on a `io.ably.socketrocket.NetworkThread` inside `ARTSRProxyConnect` will cause crash when it'll try to access `self`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Crash in [ARTSRProxyConnect _failWithError]

2 participants