#Question about arti_client TorClient behaviour

2 messages · Page 1 of 1 (latest)

cerulean rose
#

Hello! When doing TorClient::create_bootstrapped, it properly opens a connection to the Tor network perfectly, but I would love to know what happens if the node in front of you goes down or if you lose internet for a few seconds, should I ensure that the connection is properly opened before doing requests? And if it's not, should I recreate a tor client ?

formal tendon
#

I think you should just check for errors every time you interact with the client and a Result is returned.
I assume there is a way to check whether an error was a disconnect, so just restart the connection if it is one