Opened 15 years ago

Last modified 8 years ago

#264 closed enhancement (Implemented)

controller denied access to streams in SENTCONNECT state

Reported by: goodell Owned by: arma
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: goodell Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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

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:

  1. 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.

  1. 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]

Child Tickets

Change History (2)

comment:1 Changed 15 years ago by arma

flyspray2trac: bug closed.

comment:2 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.