agent: Handle EPIPE from pseudo_tcp_socket_send()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 8 Aug 2014 07:46:25 +0000 (08:46 +0100)
committerOlivier Crête <olivier.crete@collabora.com>
Thu, 21 Aug 2014 18:33:11 +0000 (14:33 -0400)
commit480725bd92a50a47cab0b8725944263c6bf1d18f
tree2e3e3c40171ec11c14d3d8e59f16d1124e548358
parentfe96a395f2f48adec4a3a0a2a5bd8075d6d946e1
agent: Handle EPIPE from pseudo_tcp_socket_send()

As with send(), pseudo_tcp_socket_send() may return EPIPE if the local
side of the connection has been closed using close() or shutdown(). It
currently doesn’t, but will do once pseudo-TCP FIN–ACK support has been
implemented.
agent/agent.c