The default RawsockMaxLength parameter (for maximum received message length) in TcpConnector::create and UdsConnector::create is currently set to 64kB. This default value was arbitrarily chosen to fit into the default socket buffer size in Linux, which is ~85kB on my system.
Should the default value instead be the maximum length of 16MB? If users have tighter memory constraints, they can always specify a different maximum receive length.
I'm going ahead and changing the default max length to 16MB, which is the maximum permitted by WAMP raw sockets. Users can decrease this value easily while instantiating their connectors.
The default
RawsockMaxLength
parameter (for maximum received message length) inTcpConnector::create
andUdsConnector::create
is currently set to 64kB. This default value was arbitrarily chosen to fit into the default socket buffer size in Linux, which is ~85kB on my system.Should the default value instead be the maximum length of 16MB? If users have tighter memory constraints, they can always specify a different maximum receive length.