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

Reconnection problems #15

Closed
dpereira opened this issue Mar 4, 2015 · 1 comment
Closed

Reconnection problems #15

dpereira opened this issue Mar 4, 2015 · 1 comment
Labels

Comments

@dpereira
Copy link
Owner

dpereira commented Mar 4, 2015

After conflux becomes active after having to resign (e.g.: home button is pushed), sometimes the client is not able to reconnect. There seems to be a timing issue, as after a while, if conflux becomes inactive and active back again, then the client is able to reconnect.

EDIT: after extensive testing, the timing issue seems to reside on ios/CFSocket API itself, as no form of closing/releasing resources prior to becoming inactive resolves the problem arising when the applicaiton regains focus and tries to open the socket again.

@dpereira
Copy link
Owner Author

A bug report was filed to apple.

This repository illustrates the issue:
https://github.com/dpereira/cfsocket_reopen_bug

dpereira pushed a commit that referenced this issue Jun 7, 2015
Avoids phone sleeping while application is active.
dpereira pushed a commit that referenced this issue Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant