-
Notifications
You must be signed in to change notification settings - Fork 39
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
iOS. NewNode proxy does not receive connections after returning app from background #116
Comments
We tried to use generic http proxy (local tinyproxy instance) and we do not have this kind of errors. We researched NN code (client.c), but haven't found any ways to reinitialize newnode. @ghazel Can you, please, help us in dealing with this issue? It's very important for us to deal with it rapidly. |
You are running tinyproxy on the iOS device itself, as part of your app? |
Of couse not. We just tried to use some generic http proxy to prove that the issue is not in our proxy client code |
This is the same issue as #96 |
Is there a workaround available? We can add some code to foreground/background event handlers to init/deinit newnode for iOS. In essence, the app is unusable after returning from the locked screen. That's the usual case for our users: they checkout the app content, switch to something else, lock the screen, check the app again. |
There is a fix in progress, but no work-around currently. (You could kill your app when backgrounded, but that might be too disruptive) |
Fixed. Will be released shortly. |
Released in 2.0.4 |
We have this scenario:
It seems that iOS closes proxy socket opened by NewNode. We do not have this kind of error if we omit proxying data through newnode.
We can add some kind of workaround in our app to reinit proxy, but I do not see any API to call for that matter.
The text was updated successfully, but these errors were encountered: