diff options
author | Yawning Angel <yawning@torproject.org> | 2014-10-03 18:27:38 +0000 |
---|---|---|
committer | Yawning Angel <yawning@torproject.org> | 2014-10-03 18:27:38 +0000 |
commit | 4932821bda4c19e51581dce295166d801fd138da (patch) | |
tree | f1d89fef412a7fc325b1b8c63aa8c2c314a8ba6c /common/ntor/ntor.go | |
parent | fc00015ee266eed17703be114543eecdde7bc818 (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