aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-05-27 01:42:35 +0000
committerNick Mathewson <nickm@torproject.org>2018-06-21 09:18:51 -0400
commitdc397f9a61e2e2caeea1acd46beab0e7205eaa9f (patch)
tree10873c6d992c92d9efdeda18192b54a55b056b6f /src/or/or.h
parentd27745d81de8829d1a6da851fe9be057458e86df (diff)
downloadtor-dc397f9a61e2e2caeea1acd46beab0e7205eaa9f.tar.gz
tor-dc397f9a61e2e2caeea1acd46beab0e7205eaa9f.zip
Bug 26214: Check stream SENDME against max.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index e106ec66fa..db8f9544fe 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -929,6 +929,7 @@ typedef enum {
/** Initial value on both sides of a stream transmission window when the
* stream is initialized. Measured in cells. */
#define STREAMWINDOW_START 500
+#define STREAMWINDOW_START_MAX 500
/** Amount to increment a stream window when we get a stream SENDME. */
#define STREAMWINDOW_INCREMENT 50