[tor-bugs] #6226 [Tor Client]: pt unit tests do dns lookup on "abcd"

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jun 23 20:17:56 UTC 2012


#6226: pt unit tests do dns lookup on "abcd"
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                  
     Type:  defect      |         Status:  new             
 Priority:  normal      |      Milestone:  Tor: unspecified
Component:  Tor Client  |        Version:                  
 Keywords:              |         Parent:                  
   Points:              |   Actualpoints:                  
------------------------+---------------------------------------------------

Comment(by nickm):

 This is also a name convention violation: functions with "_parse" in their
 name should really only do parsing.  Functions with "_resolve" in their
 name should be the ones that do name lookup.  Previously I only enforced
 this behavior for address-parsing/lookup functions, but there's no reason
 we can't propagate it further.

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


More information about the tor-bugs mailing list