We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a020c1d commit a3aea07Copy full SHA for a3aea07
src/cpp/rtps/attributes/RTPSParticipantAttributes.cpp
@@ -351,8 +351,8 @@ void RTPSParticipantAttributes::setup_transports(
351
}
352
bool intraprocess_only = is_intraprocess_only(*this);
353
354
- sendSocketBufferSize = options.sockets_buffer_size;
355
- listenSocketBufferSize = options.sockets_buffer_size;
+ sendSocketBufferSize = (sendSocketBufferSize == 0) ? options.sockets_buffer_size : sendSocketBufferSize;
+ listenSocketBufferSize = (listenSocketBufferSize == 0) ? options.sockets_buffer_size : listenSocketBufferSize;
356
357
switch (transports)
358
{
0 commit comments