Arthur Edelstein
2bd91dbd34
Don't consider a port "handled" by an isolated circuit.
...
Previously, circuit_stream_is_being_handled incorrectly reported
that (1) an exit port was "handled" by a circuit regardless of
whether the circuit was already isolated in some way, and
(2) that a stream could be "handled" by a circuit even if their
isolation settings were incompatible.
As a result of (1), in Tor Browser, circuit_get_unhandled_ports was
reporting that all ports were handled even though all non-internal
circuits had already been isolated by a SOCKS username+password.
Therefore, circuit_predict_and_launch_new was declining to launch
new exit circuits. Then, when the user visited a new site in Tor
Browser, a stream with new SOCKS credentials would be initiated,
and the stream would have to wait while a new circuit with those
credentials could be built. That wait was making the
time-to-first-byte longer than it needed to be.
Now, clean, not-yet-isolated circuit(s) will be automatically
launched ahead of time and be ready for use whenever a new stream
with new SOCKS credentials (or other isolation criteria) is
initiated.
Fixes bug 18859. Thanks to Nick Mathewson for improvements.
2017-12-06 14:18:41 -08:00
..
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-05-22 15:57:33 +03:00
2017-03-15 16:13:17 -04:00
2017-09-11 17:49:18 -04:00
2017-04-18 01:23:39 +02:00
2017-09-15 09:35:59 -04:00
2017-05-08 15:34:37 -04:00
2017-09-12 10:29:00 -04:00
2017-09-12 10:28:45 -04:00
2017-09-15 09:35:59 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-05-09 10:32:21 -04:00
2017-04-03 11:58:11 -04:00
2017-10-23 08:53:25 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-05-18 10:06:27 -04:00
2017-05-18 10:06:27 -04:00
2017-12-06 14:18:41 -08:00
2017-03-15 16:13:17 -04:00
2017-05-08 13:54:59 -04:00
2017-03-15 16:13:17 -04:00
2017-11-27 09:09:34 -05:00
2017-05-09 10:30:52 -04:00
2017-05-02 16:12:30 -04:00
2017-05-18 23:44:16 +01:00
2017-09-11 17:49:18 -04:00
2017-03-15 16:13:17 -04:00
2017-08-25 11:38:24 -04:00
2017-06-05 15:52:06 -04:00
2017-05-30 02:42:32 -04:00
2017-04-18 01:23:39 +02:00
2017-09-04 11:54:49 -04:00
2017-08-29 13:03:36 -04:00
2017-05-04 08:37:41 -04:00
2017-05-04 08:37:41 -04:00
2017-08-29 13:03:36 -04:00
2017-06-27 18:25:48 -04:00
2017-09-08 08:24:47 -04:00
2017-04-24 09:20:59 -04:00
2017-07-27 16:28:59 -04:00
2017-07-27 16:28:59 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-13 11:18:02 -05:00
2017-06-28 13:53:52 -04:00
2017-10-23 08:46:29 -04:00
2017-05-04 08:37:41 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-30 11:48:12 -05:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-30 12:07:59 -05:00
2017-06-29 15:57:48 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-05-16 19:02:42 +10:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-06-05 14:38:54 -04:00
2017-03-15 16:13:17 -04:00
2017-08-25 11:38:24 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-04-13 14:23:51 -04:00
2017-04-13 14:23:51 -04:00
2017-11-13 11:48:56 -05:00
2017-04-18 11:03:15 -04:00
2017-09-05 09:26:21 -04:00
2017-09-05 09:26:21 -04:00
2017-09-22 09:09:13 -04:00
2017-04-11 13:46:41 -04:00
2017-04-13 09:22:19 -04:00
2017-04-13 09:22:19 -04:00
2017-04-13 16:43:13 -04:00
2017-04-11 13:46:41 -04:00
2017-05-19 08:47:18 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-13 11:13:22 -05:00
2017-05-08 15:38:05 -04:00
2017-05-08 13:49:21 -04:00
2017-03-28 19:55:18 +02:00
2017-03-28 19:55:18 +02:00
2017-08-23 10:22:51 -04:00
2017-05-15 17:21:55 -04:00
2017-10-23 15:55:48 -04:00
2017-06-29 15:57:48 -04:00
2017-10-23 08:47:52 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-04-25 10:59:19 -04:00
2017-03-15 16:13:17 -04:00
2017-08-01 11:28:36 -04:00
2017-03-15 16:13:17 -04:00
2017-08-01 11:30:29 -04:00
2017-03-15 16:13:17 -04:00
2017-05-11 08:33:26 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-30 12:07:59 -05:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-13 11:15:50 -05:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-08-25 11:38:24 -04:00
2017-03-15 16:13:17 -04:00
2017-08-25 11:38:24 -04:00
2017-03-15 16:13:17 -04:00
2017-04-13 14:23:51 -04:00
2017-03-15 16:13:17 -04:00
2017-12-01 12:13:40 -05:00
2017-04-13 16:25:49 -04:00
2017-09-15 09:35:59 -04:00
2017-05-08 13:54:59 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-11-18 11:02:42 -05:00
2017-03-17 11:16:24 -04:00
2017-08-25 11:38:24 -04:00
2017-06-05 15:52:06 -04:00
2017-11-30 12:07:59 -05:00
2017-05-10 20:03:07 -04:00
2017-08-25 11:38:24 -04:00
2017-05-03 13:09:08 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-04-07 18:19:15 -04:00
2017-04-06 17:43:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-06-05 09:52:09 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00
2017-03-15 16:13:17 -04:00