Exitnode that can't handle a predicted port -> endless circuit creation
I set "exitnode cherrybomb" on my maint-0.2.2:
May 26 17:52:38.802 [notice] All routers are down or won't exit -- choosing a doomed exit at random.
May 26 17:52:39.493 [notice] All routers are down or won't exit -- choosing a doomed exit at random.
May 26 17:52:39.689 [notice] All routers are down or won't exit -- choosing a doomed exit at random.
May 26 17:52:39.810 [notice] All routers are down or won't exit -- choosing a doomed exit at random.
...
Looking in more detail at the logs, I see
May 26 17:52:17.061 [debug] circuit_remove_handled_ports(): Port 5222 is not handled.
My pidgin wanted to talk AIM, but my exitnode doesn't allow 5222.
A 'getinfo circuit-status' on the control port showed scores of circuits all ending at cherrybomb.
Tor should ignore predicted ports for destinations its configured exit nodes can't handle, rather than making an infinite pile of circuits that wouldn't be able to handle the requests anyway.