[tor-bugs] #1667 [Tor Client]: Give a more appropriate "I'm not an HTTP proxy" message when we get an HTTP request on the control port

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Apr 12 18:57:04 UTC 2012


#1667: Give a more appropriate "I'm not an HTTP proxy" message when we get an HTTP
request on the control port
----------------------------+-----------------------------------------------
    Reporter:  nickm        |       Owner:  neena           
        Type:  enhancement  |      Status:  needs_revision  
    Priority:  trivial      |   Milestone:  Tor: unspecified
   Component:  Tor Client   |     Version:                  
  Resolution:               |    Keywords:  easy            
      Parent:               |      Points:                  
Actualpoints:               |  
----------------------------+-----------------------------------------------
Changes (by nickm):

  * status:  needs_review => needs_revision


Comment:

 Hm. Actually, the strcmpstart() stuff in the last couple of commits isn't
 right yet.  strcmpstart can fail if it gets something other than a NUL-
 terminated string, and neither buf->data nor the output of
 inspect_evbuffer() is guaranteed to be NUL-terminated.  Also, if you want
 N characters from inspect_evbuffer, you need to tell it to give you N
 characters: right now, it is only guaranteed to give one character.

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


More information about the tor-bugs mailing list