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 was 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?