Stop bailing out of msgpack_parse if we see a response

This commit is contained in:
Alex Foley
2020-08-11 13:05:42 -04:00
parent 94b7ff730a
commit 7fe7255822

View File

@@ -262,11 +262,9 @@ static void parse_msgpack(Channel *channel)
call_set_error(channel, buf, ERROR_LOG_LEVEL);
}
msgpack_unpacked_destroy(&unpacked);
// Bail out from this event loop iteration
return;
} else {
handle_request(channel, &unpacked.data);
}
handle_request(channel, &unpacked.data);
}
if (result == MSGPACK_UNPACK_NOMEM_ERROR) {