[csw-devel] SF.net SVN: gar:[5198] csw/mgar/pkg/nrpe/trunk/files/common.h.diff
j_arndt at users.sourceforge.net
j_arndt at users.sourceforge.net
Mon Jun 8 12:47:29 CEST 2009
Revision: 5198
http://gar.svn.sourceforge.net/gar/?rev=5198&view=rev
Author: j_arndt
Date: 2009-06-08 10:47:29 +0000 (Mon, 08 Jun 2009)
Log Message:
-----------
nrpe: fixed issue #3707, forget to include patch file
Added Paths:
-----------
csw/mgar/pkg/nrpe/trunk/files/common.h.diff
Added: csw/mgar/pkg/nrpe/trunk/files/common.h.diff
===================================================================
--- csw/mgar/pkg/nrpe/trunk/files/common.h.diff (rev 0)
+++ csw/mgar/pkg/nrpe/trunk/files/common.h.diff 2009-06-08 10:47:29 UTC (rev 5198)
@@ -0,0 +1,21 @@
+diff --speed-large-files --minimal -Nru nrpe-2.12.orig/include/common.h nrpe-2.12/include/common.h
+--- nrpe-2.12.orig/include/common.h 2008-03-10 22:04:42.000000000 +0100
++++ nrpe-2.12/include/common.h 2009-06-08 12:23:57.199466306 +0200
+@@ -41,7 +41,7 @@
+ #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */
+ #define DEFAULT_CONNECTION_TIMEOUT 300 /* timeout if daemon is waiting for connection more than this time */
+
+-#define MAX_INPUT_BUFFER 2048 /* max size of most buffers we use */
++#define MAX_INPUT_BUFFER 8192 /* max size of most buffers we use */
+ #define MAX_FILENAME_LENGTH 256
+
+ #define MAX_HOST_ADDRESS_LENGTH 256 /* max size of a host address */
+@@ -60,7 +60,7 @@
+ #define NRPE_PACKET_VERSION_2 2
+ #define NRPE_PACKET_VERSION_1 1 /* older packet version identifiers (no longer supported) */
+
+-#define MAX_PACKETBUFFER_LENGTH 1024 /* max amount of data we'll send in one query/response */
++#define MAX_PACKETBUFFER_LENGTH 8192 /* max amount of data we'll send in one query/response */
+
+ typedef struct packet_struct{
+ int16_t packet_version;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list