diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-31 14:53:33 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-03-31 14:53:33 -0700 |
commit | 595b386afcd4e4eca0cf379cd14689c1db8ee647 (patch) | |
tree | 7347b8552be99468a81fb1a7a2e0f10fc7f446d7 | |
parent | 8e587ae481631160527fd412d41c5d66439b3fda (diff) | |
download | infinitytier-595b386afcd4e4eca0cf379cd14689c1db8ee647.tar.gz infinitytier-595b386afcd4e4eca0cf379cd14689c1db8ee647.zip |
Increase maximum packet fragments to make room for huge multicasts with certificates of membership tagged onto them. This likely will not actually increase the number of fragments in practice much, since these are then subsequently compressed. But the buffer needs to be allocated with room for them, otherwise these packets get dropped with a range_error exception internally.
-rw-r--r-- | node/Constants.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 1b00872d..a003c88c 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -158,7 +158,7 @@ error_no_byte_order_defined; * The actual spec allows 16, but this is the most we'll support right * now. Packets with more than this many fragments are dropped. */ -#define ZT_MAX_PACKET_FRAGMENTS 3 +#define ZT_MAX_PACKET_FRAGMENTS 4 /** * Timeout for receipt of fragmented packets in ms |