Commit graph

10 commits

Author SHA1 Message Date
Roman Brunner
f89e4b20c5 Pool getPort race condition
It appears that when requesting multiple ports asynchronously,
that a port is given out multiple times, which crashes single
Tor processes. Such a crash brings down the whole system as of
now, which might or might not be desired.
This is caused by a race condition on the port numbers. This
commit fixes the issue if a number of Tor instances for the pool
is requested. If the pool is populated with an array of definitions,
the user has to make sure to include the ports in the definition,
otherwise the race condition still persists. If this should still be
allowed is up for discussion or if a check should be included in the
TorPool create function.
2019-11-21 16:27:48 +01:00
Zachary Boyd
f1e3767bcc adds docs folder to sc 2018-09-19 11:22:38 -04:00
Zachary Boyd
0b82ad9cb5 finishes documentation. minor bug fixes and some code clean-up 2018-09-14 20:09:36 -04:00
Zachary Boyd
4aec5c3d0f Move most of the README to the wiki. Add grunt and jsdoc and documentation for TorProcess 2018-09-13 15:00:51 -04:00
Zachary Boyd
b65fa27ba8 Breaks the mocha test into individual files so tests can be run independently. Uses Promises in the mocha test. Adds a listen method to all servers 2018-09-09 15:42:50 -04:00
Zachary Boyd
51467b2e72 Adds cloudbuild.yaml 2018-08-12 11:20:30 -04:00
Zachary Boyd
ec0c992349 adds control server 2017-03-22 12:45:16 -04:00
Zachary Boyd
7f9555ea2e saves nodejs install script to temp 2017-03-12 13:01:35 -04:00
Zachary Boyd
9449a59e4d make over 2015-12-29 00:12:46 -05:00
zachary
1958fa6200 inital 2015-07-06 10:24:44 -04:00