The following works for me, although it doesn't provide a guarantee that the max stanza size won't be exceeded.
diff --git a/include/opensrf/osrf_app_session.h b/include/opensrf/osrf_app_session.h index 7ff732b..7e44dcf 100644 --- a/include/opensrf/osrf_app_session.h +++ b/include/opensrf/osrf_app_session.h @@ -38,7 +38,7 @@ typedef struct osrf_app_request_struct osrfAppRequest; /** @brief Default size of output buffer. */ -#define OSRF_MSG_BUNDLE_SIZE 25600 /* 25K */ +#define OSRF_MSG_BUNDLE_SIZE 20480 /* 20K */ #define OSRF_MSG_CHUNK_SIZE (OSRF_MSG_BUNDLE_SIZE * 2)
/**
The following works for me, although it doesn't provide a guarantee that the max stanza size won't be exceeded.
diff --git a/include/ opensrf/ osrf_app_ session. h b/include/ opensrf/ osrf_app_ session. h opensrf/ osrf_app_ session. h opensrf/ osrf_app_ session. h request_ struct osrfAppRequest; BUNDLE_ SIZE 25600 /* 25K */ BUNDLE_ SIZE 20480 /* 20K */ BUNDLE_ SIZE * 2)
index 7ff732b..7e44dcf 100644
--- a/include/
+++ b/include/
@@ -38,7 +38,7 @@ typedef struct osrf_app_
/**
@brief Default size of output buffer.
*/
-#define OSRF_MSG_
+#define OSRF_MSG_
#define OSRF_MSG_CHUNK_SIZE (OSRF_MSG_
/**