I know the details to "how long does a circuit stay alive", but I have a slightly different question. Suppose I am using a website through Tor. There are two TCP connections in this scenario that are of interest to me: client-entry relay and exit relay-server. Suppose the circuit is alive, what happens to these two TCP connections? Are they also kept alive? Or do the server close down the connection and opens again each time the exit relay sends a different request? What about the client-entry TCP, is it kept open as long as the circuit is alive?
Thank you for your time