From 595b386afcd4e4eca0cf379cd14689c1db8ee647 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 31 Mar 2014 14:53:33 -0700 Subject: 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. --- node/Constants.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node') 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 -- cgit v1.2.3