numam-spdk/lib/jsonrpc
Daniel Verkamp 2bcabb2004 jsonrpc: remove incorrect handling for send() == 0
recv() returns 0 when the remote end of the connection is shut down, but
there is no such rule for send().  Remove the incorrect treatment of
send() returning 0 as an error.  The remaining code will treat a send()
return value of 0 as a non-error condition and will continue to work
correctly.

Change-Id: Ia753b802d95428104a62d1acb13c5fa437add6b4
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369299
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-13 15:47:56 -04:00
..
jsonrpc_internal.h jsonrpc: avoid calling poll() with a closed fd 2017-07-12 17:43:22 -04:00
jsonrpc_server_tcp.c jsonrpc: remove incorrect handling for send() == 0 2017-07-13 15:47:56 -04:00
jsonrpc_server.c jsonrpc: allow asynchronous request completion 2017-07-12 12:10:31 -04:00
Makefile build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00