From eefc7ae95bbd680416163e5617bada1949b32afc Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Thu, 18 Jul 2019 18:31:46 +0200 Subject: [HICN-247] remove listener and bug fixing Change-Id: I4e5419a837131680fe0e21eb295462ccb2be8613 Signed-off-by: Angelo Mantellini --- hicn-light/src/hicn/io/streamConnection.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hicn-light/src/hicn/io/streamConnection.c') diff --git a/hicn-light/src/hicn/io/streamConnection.c b/hicn-light/src/hicn/io/streamConnection.c index 224f129f7..08ff728d6 100644 --- a/hicn-light/src/hicn/io/streamConnection.c +++ b/hicn-light/src/hicn/io/streamConnection.c @@ -589,6 +589,7 @@ static void _conn_readcb(PARCEventQueue *event, PARCEventType type, // kind of packets while (parcEventBuffer_GetLength(input) >= sizeof(header_control_message) && parcEventBuffer_GetLength(input) >= stream->nextMessageLength) { + if ((command = _isACommand(input)) != LAST_COMMAND_VALUE) { struct iovec *rx; // Get message from the stream and set the stream->nextMessageLength -- cgit 1.2.3-korg