Section 2.2.1 of path-spec.txt describes the process by which circuits are built preemptively. I propose that for now we ignore this feature to keep our circuit manager implementation simple.
For now, let's make circuit construction/destruction happen on-demand, that is,
a circuit is created when a client's stream is opened and
that circuit is destroyed when that stream closes.
Section 2.2.1 of
path-spec.txt
describes the process by which circuits are built preemptively. I propose that for now we ignore this feature to keep our circuit manager implementation simple.For now, let's make circuit construction/destruction happen on-demand, that is,