Tor is slow to reconnect after network connectivity change
TBB takes several minutes to become usable again in the following situation:
I'm on a laptop and use hibernate. Network interface is shut down before hibernating, after resuming I randomize the MAC and thus get a new IP.
Tor browser stays open (I absolutely need persistent sessions to work efficiently).
After resume, it takes several minutes to recover during which all HTTP requests hang indefinitely.
- timeouts are set to values for often slow connections: network.http.connection-retry-timeout 0 network.http.connection-timeout 120 network.http.keep-alive.timeout 180 network.http.response.timeout 300 network.http.network-changed.timeout 5 network.http.tls-handshake-timeout 60
- When I connect to the TBB's tor process, NEWNYM or new circuit works, but even after that, the browser remains stubbornly unresponsive.
- Last time I checked, kill -HUP (otherwise very useful in such situations) just kills the browser's tor process (?)
This behaviour is not new to me (at least 2-3 years), definitely impacts usability, but I can't find any existing bug report or discussion of it on the web.