[tor-bugs] #3636 [Tor Client]: origin_circuit_t.client_proto_type is not useful

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jul 22 20:12:56 UTC 2011


#3636: origin_circuit_t.client_proto_type is not useful
------------------------+---------------------------------------------------
 Reporter:  rransom     |          Owner:  nickm             
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 The `client_proto_type` field of `origin_circuit_t` is set to
 `TO_CONN(conn)->type` when an `edge_connection_t` `conn` is attached to
 it.  But `TO_CONN(conn)->type` will always be `CONN_TYPE_AP`, so this is
 useless.

 Perhaps you want to use the `type` field of the listener here?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3636>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list