diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-08-25 14:29:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-08-25 14:29:06 -0400 |
commit | 1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2 (patch) | |
tree | b53afb27b4ab30c2913ac5e4fba69e8f319fdbc7 /src/or/or.h | |
parent | 20136a8207f0cda0d23093a884caae0358f98bac (diff) | |
parent | 9a09513c0bd54abae3317be4136cf2578e11fbf3 (diff) | |
download | tor-1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2.tar.gz tor-1dfa2213a424c36d4aa70fdab60b27b6b5e1ced2.zip |
Merge remote-tracking branch 'andrea/ticket18640_v3'
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index 43b31c0fdd..be58fa0d0a 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -3699,6 +3699,10 @@ typedef struct { int ConnLimit; /**< Demanded minimum number of simultaneous connections. */ int ConnLimit_; /**< Maximum allowed number of simultaneous connections. */ + int ConnLimit_high_thresh; /**< start trying to lower socket usage if we + * have this many. */ + int ConnLimit_low_thresh; /**< try to get down to here after socket + * exhaustion. */ int RunAsDaemon; /**< If true, run in the background. (Unix only) */ int FascistFirewall; /**< Whether to prefer ORs reachable on open ports. */ smartlist_t *FirewallPorts; /**< Which ports our firewall allows @@ -4454,6 +4458,9 @@ typedef struct { * participate in the protocol. If on (default), a flag is added to the * vote indicating participation. */ int AuthDirSharedRandomness; + + /** If 1, we skip all OOS checks. */ + int DisableOOSCheck; } or_options_t; /** Persistent state for an onion router, as saved to disk. */ |