diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-19 19:48:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-19 19:48:58 +0000 |
commit | bf6702cf8b8f251356b72a8276fefbdeb6eca453 (patch) | |
tree | 196b03caa491e058c4fc7d6b3b8dc6be36420d6c /src/or/or.h | |
parent | 1ce86f1fca841b5c214bc0762507c38f04e4ab8f (diff) | |
download | tor-bf6702cf8b8f251356b72a8276fefbdeb6eca453.tar tor-bf6702cf8b8f251356b72a8276fefbdeb6eca453.tar.gz |
r11645@Kushana: nickm | 2006-12-19 14:22:36 -0500
Reject hostnames with invalid characters, in an attempt to catch more errors earlier. Add an option to disable this behavior.
svn:r9156
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 035787a1a..845b92818 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1656,6 +1656,8 @@ typedef struct { * same network zone in the same circuit. */ int TunnelDirConns; /**< If true, use BEGIN_DIR rather than BEGIN when * possible. */ + int AllowNonRFC953Hostnames; /**< If true, we allow connections to hostnames + * with weird characters. */ } or_options_t; /** Persistent state for an onion router, as saved to disk. */ |