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

Re: [tor-bugs] #11015 [Obfsproxy]: UniformDH should not block the main event loop



#11015: UniformDH should not block the main event loop
---------------------------+-----------------------------------------------
     Reporter:  yawning    |      Owner:  asn
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:
    Component:  Obfsproxy  |    Version:
   Resolution:             |   Keywords:  python, UniformDH, cpu exhaustion
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+-----------------------------------------------

Comment (by infinity0):

 Oh, another thing: you can just pass in simply `self.dh.get_secret` as the
 task to `deferToThread`, instead of spending 8 lines to define a separate
 `_uniform_dh_task`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11015#comment:4>
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