Files
tor/changes
Nick Mathewson b1d56fc589 Decouple ..attach_circuit() from most of its callers.
Long ago we used to call connection_ap_handshake_attach_circuit()
only in a few places, since connection_ap_attach_pending() attaches
all the pending connections, and does so regularly.  But this turned
out to have a performance problem: it would introduce a delay to
launching or connecting a stream.

We couldn't just call connection_ap_attach_pending() every time we
make a new connection, since it walks the whole connection list.  So
we started calling connection_ap_attach_pending all over, instead!
But that's kind of ugly and messes up our callgraph.

So instead, we now have connection_ap_attach_pending() use a list
only of the pending connections, so we can call it much more
frequently.  We have a separate function to scan the whole
connection array to see if we missed adding anything, and log a
warning if so.

Closes ticket #17590
2015-11-17 08:53:34 -05:00
..
2015-10-07 10:25:00 -04:00
2015-10-02 15:12:04 +02:00
2015-10-02 13:13:58 +02:00
2015-10-07 09:34:49 -04:00
2015-10-02 14:35:16 +02:00
2015-10-02 13:13:58 +02:00
2015-10-06 11:02:55 -04:00
2015-09-09 15:23:25 +02:00
2015-09-30 18:34:15 +02:00
2015-10-30 09:25:39 -04:00
2015-10-24 14:30:53 +03:00