[Nagiosplug-checkins] nagiosplug/plugins common.h,1.27,1.28

Holger Weiss hweiss at users.sourceforge.net
Thu Mar 22 18:54:18 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23797/plugins

Modified Files:
	common.h 
Log Message:
Increase MAX_INPUT_BUFFER from 1k to 8k in order to increase I/O
performance (Stefan Meier)


Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- common.h	27 Jan 2007 17:42:53 -0000	1.27
+++ common.h	22 Mar 2007 17:54:16 -0000	1.28
@@ -189,7 +189,7 @@
 
 enum {
 	DEFAULT_SOCKET_TIMEOUT = 10,	 /* timeout after 10 seconds */
-	MAX_INPUT_BUFFER = 1024,	     /* max size of most buffers we use */
+	MAX_INPUT_BUFFER = 8192,	     /* max size of most buffers we use */
 	MAX_HOST_ADDRESS_LENGTH = 256	 /* max size of a host address */
 };
 





More information about the Commits mailing list