Wrong toolkit log message when receiving an "Abort" chunk
Description
As a client, when receiving an Abort chunk (chunk type is A
), the log messages states that both parties agreed to mono-chunk ("multi-chunk was indicated as not active on connection"). Moreover, the status code which is sent through the abort does not appear in the log message, and is replaced by a 0x807E0000
which is "The type of the message specified in the header invalid.".
Analysis
In SC_Chunks_DecodeTcpMsgHeader
:
if (chunkCtx->currentMsgIsFinal != SOPC_MSG_ISFINAL_FINAL)
only tests that the chunk type is not F
, expecting that it is C
in this case, but it may also be A
.
Edited by Pierre-Antoine BRAMERET