Commit c70bfb3b authored by anonym's avatar anonym
Browse files

tor-controlport-filter: allow longer lines.

128 bytes is not enough for e.g. "SETCONF Bridge=..." when using obfs4.
parent 1ada6204
......@@ -31,7 +31,7 @@ global_args = None
# Limit the length of a line, to prevent DoS attacks trying to
# crash this filter proxy by sending infinitely long lines.
MAX_LINESIZE = 128
MAX_LINESIZE = 1024
class UnexpectedAnswer(Exception):
def __init__(self, msg):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment