summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-28 14:01:45 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-28 14:01:45 -0400
commitc612ddee17c2f6e70fde9f0bdd7116516f384ae8 (patch)
treec2113145b817030aa8e0b1fd1d97ec65338a39a9 /src/or/or.h
parentd6e255edbd11f159c33ff77ceb638c0304dd9873 (diff)
downloadtor-c612ddee17c2f6e70fde9f0bdd7116516f384ae8.tar.gz
tor-c612ddee17c2f6e70fde9f0bdd7116516f384ae8.zip
Add a new option to enable/disable IOCP support
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 4741cc341b..d2a7714db3 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2892,6 +2892,10 @@ typedef struct {
*/
double CircuitPriorityHalflife;
+ /** If true, do not enable IOCP on windows with bufferevents, even if
+ * we think we could. */
+ int DisableIOCP;
+
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */