You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
We included Pocketsocket.a file inside our objective c framework. The socket connection is not opening sometimes. We debugged inside PocketSocket code, we found that evaluateServerTrust method is called in a synchronous way by executeDelegateAndWait. PocketSocket code: [self executeDelegateAndWait:^{
customTrustEvaluation = [_delegate respondsToSelector:@selector(webSocket:evaluateServerTrust:)];
}];
We changed synchronous to asynchronous by calling executeDelegate and everything worked fine. What is the reason in calling evaluateServerTrust method in a synchronous way?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We included Pocketsocket.a file inside our objective c framework. The socket connection is not opening sometimes. We debugged inside PocketSocket code, we found that evaluateServerTrust method is called in a synchronous way by executeDelegateAndWait.
PocketSocket code:
[self executeDelegateAndWait:^{
customTrustEvaluation = [_delegate respondsToSelector:@selector(webSocket:evaluateServerTrust:)];
}];
We changed synchronous to asynchronous by calling executeDelegate and everything worked fine. What is the reason in calling evaluateServerTrust method in a synchronous way?
The text was updated successfully, but these errors were encountered: