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 }}
Repository navigation
add control port buffer so setEvents() can be called anytime #78
Replace which pull request? I think there has been some confusion here because at one point in my troubleshooting I had conflated two bugs in tor-android with one another; in the interest of clarity:
A race condition where the app using tor-android calls setEvents() before TorService does with CIRC causing which makes the app only receive CIRC events
The waiting for lock issue, which is separate and pertains to the tor and control socket threads being unable to recover from a crash state
This idea of yours seems like a good approach to the first one. As for your question of OFF and STARTING I think it should only queue calls before TorService calls setEvents
Activity
bitmold commentedon Apr 29, 2022
Replace which pull request? I think there has been some confusion here because at one point in my troubleshooting I had conflated two bugs in tor-android with one another; in the interest of clarity:
setEvents()beforeTorServicedoes withCIRCcausing which makes the app only receive CIRC eventsThis idea of yours seems like a good approach to the first one. As for your question of
OFFandSTARTINGI think it should only queue calls beforeTorServicecallssetEvents