[tor-bugs] #16355 [Torsocks]: [PATCH] Add usleep to data_impl functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 12 03:31:54 UTC 2015


#16355: [PATCH] Add usleep to data_impl functions
-----------------------------+-------------------------------------
     Reporter:  cypherpunks  |      Owner:  dgoulet
         Type:  enhancement  |     Status:  new
     Priority:  trivial      |  Milestone:
    Component:  Torsocks     |    Version:
   Resolution:               |   Keywords:  torsocks cpu spike hang
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------------

Comment (by yawning):

 NACK.  IMO the code should just use blocking I/O here, saving/restoring
 O_NONBLOCK before/after doing the socks handshake (using select or poll
 would also be less kludgy).

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


More information about the tor-bugs mailing list