-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Hardcoded buffer size in TcpClient/TcpDriver/Udp #2074
Comments
Also in UDP and possibly UART. Should be a configuration parameter (on startup). |
So would a fix be having an allocation parameter in the getBuffer method? |
@menaman123 the fix would be to add an "allocation size" to the fprime/Drv/TcpClient/TcpClientComponentImpl.cpp Lines 32 to 36 in da4b1da
|
This issue appears to have been fixed in commit 7FF002C by menamen123:
If I am correct then this ticket can now be closed per GIT ticket # 2759. |
@bdshenker the above ticket did resolve the problem in TcpClient, but not TcpServer nor Udp.
|
@LeStarch I completed Git#2074 and reran regression suite locally. |
Closing as complete. |
Problem Description
See
fprime/Drv/TcpClient/TcpClientComponentImpl.cpp
Lines 50 to 51 in da4b1da
We should do like UARTDriver (see here) and configure the size at configure() time so that it can be configured for each instance in the topology. Set a default size of 1024 so that it doesn't break any existing code.
The text was updated successfully, but these errors were encountered: