[tor-bugs] #30262 [Core Tor/Stem]: stem.descriptor.remote not handling 'HTTP/1.0 404 Not found' gracefully

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 29 23:10:15 UTC 2019


#30262: stem.descriptor.remote not handling 'HTTP/1.0 404 Not found' gracefully
---------------------------+-----------------------------------
 Reporter:  starlight      |          Owner:  atagar
     Type:  defect         |         Status:  needs_information
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by starlight):

 Didn't realized that exceptions were the API mechanism for all errors,
 including known typical errors.  Avoid it myself, reserving exception
 throwing for arrival of the unexpected.

 Have to repeat, not graceful.  If you are satisfied it's working "to
 spec," then feel free to close the ticket.

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


More information about the tor-bugs mailing list