controller denied access to streams in SENTCONNECT state
If a stream is in the SENTCONNECT state but has not succeeded yet, then the controller has no means of reattaching this stream to another circuit. For example,
attachstream 266 62 555 Connection is not managed by controller.
Clearly, the controller ought to be able to tell Tor to terminate the SENTCONNECT state early. We can do this in two ways:
-
Presume that the only reason to terminate SENTCONNECT early is to attach a stream to a different circuit. This means that we are really interested in extending the capability of the ATTACHSTREAM directive to support reattaching even streams in the SENTCONNECT state.
-
Create a DETACHSTREAM controller command that can explicitly detach a stream from a circuit (perhaps this should only work if the stream is in the SENTCONNECT state), causing the stream to enter the DETACHED state, thus becoming suitable for reconnection via the controller.
[Automatically added by flyspray2trac: Operating System: All]