
Due to race conditions, multiple messages might be received from a single read by guestServer. guestServer in this case would only handle the first message and discard the remaining ones. In this particular issue, guestServer received a heartbeat challenge response message and a vote notification response (reject) message from a single read, and the latter message was discarded. This fix rewrites message handler for virtio serial channel to handle segmented and multiple messages. It uses newline character to deliminate messages so it assumes any newline characters in client log message are removed. Change-Id: Ic6f0509c98fcedf3631f4d210f753c32c37aa442 Signed-off-by: Jack Ding <jack.ding@windriver.com>
stx-metal
StarlingX Bare Metal Management
Description
Languages
C++
83%
Shell
10.2%
Python
3.3%
C
2.5%
Makefile
1%