Explorar o código

Increase MAX_INPUT_BUFFER from 1k to 8k in order to increase I/O
performance (Stefan Meier)


git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1646 f882894a-f735-0410-b71e-b25c423dba1c

Holger Weiss %!s(int64=19) %!d(string=hai) anos
pai
achega
b6a9796625
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      THANKS.in
  2. 1 1
      plugins/common.h

+ 1 - 0
THANKS.in

@@ -212,3 +212,4 @@ Ville Mattila
 Lars Stavholm
 Enrico Scholz
 Marlo Bell
+Stefan Meier

+ 1 - 1
plugins/common.h

@@ -189,7 +189,7 @@ enum {
 
 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 */
 };