summaryrefslogtreecommitdiffhomepage
path: root/LICENSE
diff options
context:
space:
mode:
authorBrian Geffon <bgeffon@google.com>2018-06-19 10:42:39 -0700
committerShentubot <shentubot@google.com>2018-06-19 10:43:30 -0700
commit4fd1d40e1d874ef4eb2f6cb13de66f1b756aa92c (patch)
tree498232eaab3e214ca201dc0475cc48c667b34633 /LICENSE
parent873ec0c414973e829c1570f21d0d2e2a0df681f4 (diff)
Rpcinet needs to track shutdown state for blocking sockets.
Because rpcinet will emulate a blocking socket backed by an rpc based non-blocking socket. In the event of a shutdown(SHUT_RD) followed by a read a non-blocking socket is allowed to return an EWOULDBLOCK however since a blocking socket knows it cannot receive anymore data it would block indefinitely and in this situation linux returns 0. We have to track this on the rpcinet sentry side so we can emulate that behavior because the remote side has no way to know if the socket is actually blocking within the sentry. PiperOrigin-RevId: 201201618 Change-Id: I4ac3a7b74b5dae471ab97c2e7d33b83f425aedac
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions