[tor-bugs] #15826 [Obfuscation/Pluggable transport]: Check and return error values in goptlib
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 5 23:32:05 UTC 2019
#15826: Check and return error values in goptlib
---------------------------------------------+------------------------
Reporter: gsathya | Owner: (none)
Type: defect | Status: closed
Priority: Medium | Milestone:
Component: Obfuscation/Pluggable transport | Version:
Severity: Normal | Resolution: fixed
Keywords: goptlib | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------------------+------------------------
Changes (by dcf):
* status: new => closed
* resolution: => fixed
Comment:
I added the checks to `s.SetDeadline` and `f.Close`, and added tests for a
failing `s.SetDeadline`, in this series of commits:
* https://gitweb.torproject.org/pluggable-
transports/goptlib.git/diff/?id=3be4b5e2d3ba2add44e0d0307ad3f2487f8ad208&id2=737bb08d9520b27030c32884b0303c389b407671
I decided that it's not worth breaking out a test for a failing `f.Close`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15826#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list