msgpack-rpc: Terminate server->client calls when the channel closes

This commit is contained in:
Thiago de Arruda 2014-10-24 10:15:13 -03:00
parent 3cacdae044
commit 4d70fe89bf

View File

@ -338,6 +338,8 @@ static void parse_msgpack(RStream *rstream, void *data, bool eof)
if (eof) {
close_channel(channel);
call_set_error(channel, "Channel was closed by the client");
return;
}
size_t count = rstream_pending(rstream);