fix(proxy): writeable profile path and quiet shutdown
- Pass VK_PROFILE_PATH=filesDir/vk_profile.json and set the working directory to filesDir when spawning libvkturn. The native core writes vk_profile.json relative to CWD, which on Android resolves to the APK lib dir (read-only mount), so the captured browser profile was never persisted between runs. - Wrap reader.readLine() in a try/catch so the IOException raised when Process.destroy() closes the stdout pipe from another thread no longer surfaces as "КРИТИЧЕСКАЯ ОШИБКА: read interrupted by close()". Treated as benign on user stop, network handover, quota reset, and any explicit Bad-file-descriptor path. - Bundle the matching libvkturn.so build with the upstream fixes (header stripping, dynamic debug_info, DoH per-endpoint timeout, writeable profile path resolution).
This commit is contained in:
1 parent
11fb5b8a55
commit
8691a9a8cb
2 files changed
+30
-4
No files matched your search
Binary file not shown.
Reference in new issue
Block a user