122a776326
If more than one full request is received by a single recv() call only first one will be parsed. Then next time we call recv() is called it will return EAGAIN and next request won't be parsed. Fix this by always parsing all requests in the buffer. Change-Id: I0a2c72fd0ad6184834b9831bda520a28ab815f0d Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/c/437161 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-by: wuzhouhui <wuzhouhui@kingsoft.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> |
||
---|---|---|
.. | ||
jsonrpc_client_tcp.c | ||
jsonrpc_client.c | ||
jsonrpc_internal.h | ||
jsonrpc_server_tcp.c | ||
jsonrpc_server.c | ||
Makefile |