Issues.00192 - lordmundi/wikidoctest GitHub Wiki
00192: update trick_comm_library to discard corrupted data
Summary: update trick_comm_library to discard corrupted data
Created: 2009–10–08 11:40
Status: Released
Category: Request
From: frankie
Version: 2.0
Released_In: 2.1
Description:
right now, the variable server interface library calls the user callback when data is received. This is a request to upgrade the internals so that the user receive callback is only called if the number of variables in the received data matches the number requested by the client.
For example, sometimes the variable server can send the first packet of data for the variables requested before the client has a chance to fully request the complete list of variables it needs. In this case, the data needs to be discarded. Sometimes, you will see this manifested by a tcl error when you startup since it is expecting to process data that isn't there.
Comments
frankie March 24, 2010, at 05:09 PM: This is now fixed in trick_comm_library.tcl
Associated Commits
| commit | 7cc9cf744f30df52e8187c37c18e7a706c3a4501
link5 |
||
| Author: | Frank Graffagnino
|
| Date: | Wed Mar 24 17:08:01 2010 -0500
|
| Message: | [@Issue 00192: Fixed issue to handle corrupt data from var serv
Now, if DOUG received a frame of data that has less variables in it than what it requested, it will discard the data. This is especially common in the first frame of data. @] |
Affected Files:
gui/interface_libraries/trick_comm_library.tcl | 7 +++++±
gui/interface_libraries/trick_comm_library_nodoug.tcl | 11 +++++++++±
2 files changed, 16 insertions(+), 2 deletions(-)