The max receive size constant (a user programme only
constant) still reflected the original limit of 4k.
While internally this was not used and/or enforced, the
incorrect setting could cause some wrapper implementations
to incorrectly limit the max receive size.
This change sets this constant to the acknowledged max
receive size for all transports (64K).
Issue-ID: RIC-301
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I214b9d9dd67a00232e57bab8327dcb76f891b517
# API and build change and fix summaries. Doc correctsions
# and/or changes are not mentioned here; see the commit messages.
# API and build change and fix summaries. Doc correctsions
# and/or changes are not mentioned here; see the commit messages.
+2020 March 30; version 3.6.3
+ Correct the max receive message size constant in rmr.h (RIC-301)
+
2020 March 23; version 3.6.2
Fix message initialisation bug when pulling a message from
the pool (RIC-295)
2020 March 23; version 3.6.2
Fix message initialisation bug when pulling a message from
the pool (RIC-295)
set( major_version "3" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this
set( minor_version "6" )
set( major_version "3" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this
set( minor_version "6" )
set( install_root "${CMAKE_INSTALL_PREFIX}" )
set( install_inc "include/rmr" )
set( install_root "${CMAKE_INSTALL_PREFIX}" )
set( install_inc "include/rmr" )
#define RMR_MAX_MEID 32 // spece in header reserved for managed element id
#define RMR_MAX_SRC 64 // max length of hostname (which could be IPv6 addr with [...]:port so more than the 39 bytes of a plain addr
#define RMR_MAX_SID 32 // misc sender info/data (reserved)
#define RMR_MAX_MEID 32 // spece in header reserved for managed element id
#define RMR_MAX_SRC 64 // max length of hostname (which could be IPv6 addr with [...]:port so more than the 39 bytes of a plain addr
#define RMR_MAX_SID 32 // misc sender info/data (reserved)
-#define RMR_MAX_RCV_BYTES 4096 // max bytes we support in a receive message
+#define RMR_MAX_RCV_BYTES (1024 * 64) // max bytes we support in a receive message
// various flags for function calls
#define RMRFL_NONE 0x00 // no flags
// various flags for function calls
#define RMRFL_NONE 0x00 // no flags