[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12700 [Tor]: relay_command_to_string() doesn't know about EXTEND2 / EXTENDED2



#12700: relay_command_to_string() doesn't know about EXTEND2 / EXTENDED2
------------------------+--------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------
Description changed by arma:

Old description:

> Apparently we left them out on the big switch statement when we
> introduced them.
>
> We could add the two lines in -- that would be easy, and somebody should.
>
> The slightly more complicated question: is there a way to rephrase this
> function to future-proof it better against the next time we add a new
> relay command?

New description:

 Apparently we left EXTEND2 and EXTENDED2 out of this function's big switch
 statement when we introduced these relay commands.

 We could add the two lines in -- that would be easy, and somebody should.

 The slightly more complicated question: is there a way to rephrase this
 function to future-proof it better against the next time we add a new
 relay command?

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12700#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs