On 9/20/17 2:04 PM, Marc Eshel wrote:
recv errno 0
"recv() returns 0 only when you request a 0-byte buffer or the
other peer has gracefully disconnected"
We know it's not 0-byte fragments, because that's not allowed:
if (unlikely(!xd->sx_fbtbc)) {
__warnx(TIRPC_DEBUG_FLAG_ERROR,
"%s: %p fd %d fragment is zero (will set dead)",
__func__, xprt, xprt->xp_fd);
SVC_DESTROY(xprt);
return SVC_STAT(xprt);
}
So the peer has disconnected.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel