summaryrefslogtreecommitdiff
path: root/common/ntor/ntor.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@torproject.org>2014-10-03 18:27:38 +0000
committerYawning Angel <yawning@torproject.org>2014-10-03 18:27:38 +0000
commit4932821bda4c19e51581dce295166d801fd138da (patch)
treef1d89fef412a7fc325b1b8c63aa8c2c314a8ba6c /common/ntor/ntor.go
parentfc00015ee266eed17703be114543eecdde7bc818 (diff)
Improve the performance of the obfs4 handshake test.
Exhaustively testing padding combinations is really slow, and was causing timeouts during the Debian ARM package build process. Attempt to improve the situation by: * Reusing the client and server keypair for all of the tests, to cut runtime down by ~50%. * Splitting the client side and server side tests up, as it appears the timeout is per-test case. If this doesn't fix things, the next thing to try would be to reduce the actual number of padding lengths tested, but that is a last resort at the moment.
Diffstat (limited to 'common/ntor/ntor.go')
0 files changed, 0 insertions, 0 deletions