[tor-bugs] #16081 [Tor]: Document status code consistency for multiple lines in a single reply

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 18 07:08:52 UTC 2015


#16081: Document status code consistency for multiple lines in a single reply
-------------------------+----------------------
     Reporter:  solatis  |      Owner:  atagar
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-spec
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+----------------------

Comment (by solatis):

 Ah sorry, I thought DocTor was about tor documentation. That's what you
 get for making assumptions.

 What I have in mind is a small improvement to section 2.3 of this spec:

 https://gitweb.torproject.org/torspec.git/tree/control-spec.txt#n158

 A little note below the grammar saying "Multiple lines in a single Reply
 from Tor to the controller are guaranteed to share the same status code."
 would suffice. As long as this is actually the case, of course.

 This would allow implementations to just look at the first line for the
 status code of the entire reply and be compliant (I have no idea what an
 implementation should do when it encounters multiple different status
 codes anyway).

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


More information about the tor-bugs mailing list