-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[22208] The SocketTransportDescriptor::min_send_buffer_size() method returns too large value when exceeded net.core.wmem_max #4684
Comments
Below is a possible patch.
|
Using the code snippet below, it turned out that the
|
Is there an already existing issue for this?
Expected behavior
The values
sendBufferSize
andreceiveBufferSize
from theSocketTransportDescriptor
adequately reflect the buffer sizes of the created UDP sockets.Current behavior
The values
sendBufferSize
andreceiveBufferSize
from theSocketTransportDescriptor
andSocketTransportDescriptor::min_send_buffer_size()
method return larger values than the actual size of the UDP socket buffers.Steps to reproduce
Using the fields
sendBufferSize
andreceiveBufferSize
from theSocketTransportDescriptor
, you must set a value greater than net.core.wmem_max or net.core.rmem_max.Fast DDS version/commit
v2.13.0
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
UDPv4
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: