Project

General

Profile

« Previous | Next » 

Revision 6f5cfeae

Added by Nicolas CHARLES almost 11 years ago

Revert "Fixes #3574 : extends buffer size to have similar behaviour as with CFEngine 3.2"

This reverts commit afd145881033096dddda03f0a4e0b134080de1e0.

View differences:

rudder-agent/SOURCES/Makefile
tar xvzf $(TMP_DIR)/cfengine.tgz -C $(TMP_DIR)
mv $(TMP_DIR)/cfengine-$(CFENGINE_RELEASE) ./cfengine-source
$(PATCH) -d ./cfengine-source -p1 < ./split_dist_evaluation.patch
$(PATCH) -d ./cfengine-source -p1 < ./extend_buffer.patch
./tokyocabinet-source: /usr/bin/wget
# Original URL: http://fallabs.com/tokyocabinet/tokyocabinet-${TOKYOCABINET_RELEASE}.tar.gz
rudder-agent/SOURCES/extend_buffer.patch
diff --git a/src/cf3.defs.h b/src/cf3.defs.h
index 3f44844..65d87b8 100755
--- a/src/cf3.defs.h
+++ b/src/cf3.defs.h
@@ -46,7 +46,7 @@
/* Various defines */
/*******************************************************************/
-#define CF_BUFSIZE 4096
+#define CF_BUFSIZE 8192
/* max size of plaintext in one transaction, see
net.c:SendTransaction(), leave space for encryption padding
(assuming max 64*8 = 512-bit cipher block size)*/

Also available in: Unified diff