Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs related to a deadlock, and iOS 16 Deprecations #1

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

iMostfa
Copy link

@iMostfa iMostfa commented Apr 4, 2024

Yesterday i updated CocoaAsyncSocket to the latest version, hoping that it's going to fix bugs, we were on 7.5.1 and now we are 7.6.5

while diffing both version, and checking the release notes, they said that they fixed some bugs, but they appeared to not be related to us, so i did more search to find a very, smart Chinese blog discussing similar issues

Screenshot 2024-04-04 at 2 03 55 PM

and here we do the implementation they described in Chinese

https://it-wallapop.sentry.io/issues/4984384977/?query=is%3Aunresolved+closeWithError&referrer=issue-stream&statsPeriod=90d&stream_index=0&utc=true
Screenshot 2024-04-04 at 2 01 43 PM

now it's important to know that we have tons of bugs coming from ths lib, which is powering the xmpp framework, so trying to fix it, and update it, should be a good idea.

image

@iMostfa iMostfa self-assigned this Apr 4, 2024
@iMostfa iMostfa requested a review from bitomule April 4, 2024 12:14
Comment on lines +5472 to +5474
// r1 = CFReadStreamSetProperty(readStream4, kCFStreamNetworkServiceType, kCFStreamNetworkServiceTypeBackground);
// r2 = CFWriteStreamSetProperty(writeStream4, kCFStreamNetworkServiceType, kCFStreamNetworkServiceTypeBackground);
//
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it's commented code in the source file of lib.

Copy link

@bitomule bitomule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand anything but I trust you.

@iMostfa iMostfa merged commit a247807 into master Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants