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

Re: [tor-dev] Hogging of second_elapsed_callback()



teor <teor2345@xxxxxxxxx> wrote
Sun, 15 Apr 2018 08:48:01 +1000:

> Connections and circuits might timeout over that 6.5 seconds.

OK, good to know.


> Can you shift the signing to its own thread?
> Or make it asynchronous?
>
> Tor has cpuworkers, which could be used to do signing work.

Some non-blockingness would be required, yes. 

An asynchronous cryptographic tokens API would be useful but if we're
unable to pull that off, having a cpuworker blocking on the call would
be a solution.
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev