aboutsummaryrefslogtreecommitdiff
path: root/src/test/hs_indexes.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-14 16:07:10 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-14 16:07:10 -0500
commit3dd1f064a7d5708585f88beffaf3897ba6555208 (patch)
treeb4f9e9be7232be5a275c7f62c9d643f8fb45702e /src/test/hs_indexes.py
parentf8dac5c900856494867996f60da848b0111aad35 (diff)
downloadtor-3dd1f064a7d5708585f88beffaf3897ba6555208.tar.gz
tor-3dd1f064a7d5708585f88beffaf3897ba6555208.zip
Rewrite the core of parse_short_policy() to be faster.
The old implementation did some funky out-of-order lexing, and tended to parse every port twice if the %d-%d pattern didn't match. Closes ticket 28853.
Diffstat (limited to 'src/test/hs_indexes.py')
0 files changed, 0 insertions, 0 deletions