summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-11-24 22:59:37 -0500
committerNick Mathewson <nickm@torproject.org>2011-11-24 22:59:37 -0500
commitf634228a073965195c4088b66c1d5c4799c6eed2 (patch)
tree3113bac14b861247cc900851104ef8c246292477 /src/or/or.h
parent11221d0f17bf3ea6039249ad8b06b3a1afd6291d (diff)
parent6e6a6612966d7ea9ad3d89bb5073ef400539b2a7 (diff)
downloadtor-f634228a073965195c4088b66c1d5c4799c6eed2.tar.gz
tor-f634228a073965195c4088b66c1d5c4799c6eed2.zip
Merge remote-tracking branch 'public/feature4516'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 67ba62bdd6..f186eac7bd 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3432,6 +3432,11 @@ typedef struct {
* never use it. If -1, we do what the consensus says. */
int OptimisticData;
+ /** If 1, and we are using IOCP, we set the kernel socket SNDBUF and RCVBUF
+ * to 0 to try to save kernel memory and avoid the dread "Out of buffers"
+ * issue. */
+ int UserspaceIOCPBuffers;
+
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */